From 12452f8896799a95788090a34eb6579503ce493e Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sat, 10 Sep 2022 10:51:38 -0500 Subject: [PATCH] Remove deprecated rsvg_handle_get_dimensions, add rsvg_handle_get_intrinsic_size_in_pixels. --- lua/rsvg.pkg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/rsvg.pkg b/lua/rsvg.pkg index c97874ff..058eff1f 100644 --- a/lua/rsvg.pkg +++ b/lua/rsvg.pkg @@ -87,7 +87,9 @@ typedef struct _RsvgRectangle { const char *rsvg_handle_get_base_uri (RsvgHandle * handle); void rsvg_handle_set_base_uri (RsvgHandle * handle, const char *base_uri); -void rsvg_handle_get_dimensions (RsvgHandle * handle, RsvgDimensionData * dimension_data); +gboolean rsvg_handle_get_intrinsic_size_in_pixels (RsvgHandle *handle, + gdouble *out_width, + gdouble *out_height); gboolean rsvg_handle_get_geometry_for_layer(RsvgHandle *handle, const char *id,