mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-01 18:40:45 +02:00
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>
This commit is contained in:
parent
ecc6f1918b
commit
7d57e76c9f
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue