commit 5c9d5a58d0e070ed8b278abff5c48657a434a66a
parent cfb8edae7afd000654f4a18d751f7dc18d52e9c0
Author: wwp <subscript@free.fr>
Date: Tue, 2 Jan 2024 10:32:28 +0100
rsvg_handle_get_intrinsic_size_in_pixels() is rsvg 2.52.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stock_pixmap.c b/src/stock_pixmap.c
@@ -691,7 +691,7 @@ GdkPixbuf *pixbuf_from_svg_like_icon(char *filename, GError **error, StockPixmap
height = (int) floor(factor * height);
}
} else { /* render using SVG size */
-#if LIBRSVG_CHECK_VERSION(2, 46, 0)
+#if LIBRSVG_CHECK_VERSION(2, 52, 0)
double svg_width, svg_height;
rsvg_handle_get_intrinsic_size_in_pixels(handle, &svg_width, &svg_height);