[PATCH 1/6] test: Replace deprecated rsvg_init() in any2ppm test

"Bryce W. Harrington" <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
As of libsvg 2.35 calling g_type_init() is sufficient.

Signed-off-by: Bryce Harrington <[email protected]>
---
 configure.ac   |    2 +-
 test/any2ppm.c |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index eb1f2a3..fdcb2dc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -627,7 +627,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 2403347..e698e57 100644
--- a/test/any2ppm.c
+++ b/test/any2ppm.c
@@ -865,7 +865,6 @@ main (int argc, char **argv)
 #endif
 
 #if CAIRO_CAN_TEST_SVG_SURFACE
-    rsvg_init ();
     rsvg_set_default_dpi (72.0);
 #endif
 
-- 
1.7.9.5
-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.