From 7d57e76c9fda065be85dce257291ee77455fbb67 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Wed, 29 Jan 2014 09:57:24 -0800 Subject: [PATCH] test: Replace deprecated rsvg_init() in any2ppm test As of libsvg 2.35 calling g_type_init() is sufficient. Signed-off-by: Bryce Harrington Reviewed-by: Chris Wilson --- configure.ac | 2 +- test/any2ppm.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index b5e27210c..a04baaef8 100644 --- a/configure.ac +++ b/configure.ac @@ -629,7 +629,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(svg, SVG, yes, [ fi ]) -LIBRSVG_VERSION_REQUIRED=2.15.0 +LIBRSVG_VERSION_REQUIRED=2.35.0 test_svg=no any2ppm_svg=no if test "x$use_svg" = "xyes"; then diff --git a/test/any2ppm.c b/test/any2ppm.c index db7f59ea3..b125496e8 100644 --- a/test/any2ppm.c +++ b/test/any2ppm.c @@ -869,7 +869,6 @@ main (int argc, char **argv) #endif #if CAIRO_CAN_TEST_SVG_SURFACE - rsvg_init (); rsvg_set_default_dpi (72.0); #endif