diff options
author | Bryce Harrington <b.harrington@samsung.com> | 2014-01-29 09:57:24 -0800 |
---|---|---|
committer | Bryce Harrington <b.harrington@samsung.com> | 2014-01-31 11:25:32 -0800 |
commit | 1b522f81e22fd320e6962ffb54121c10ece39275 (patch) | |
tree | f19082bfd664780b6d7bf3b0e06c354842a3755d | |
parent | 5de25951a43f51cade42549ae60e52ffb391d61e (diff) |
test: Replace deprecated rsvg_init() in any2ppm test
As of libsvg 2.35 calling g_type_init() is sufficient.
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | test/any2ppm.c | 1 |
2 files changed, 1 insertions, 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 |