[test] Fix any2ppm build when building without the full complement of surfaces.

It was complaining about g_init_type () being used without the proper includes
which would have been pulled in by the svg or poppler includes.
This commit is contained in:
M Joonas Pihlaja 2008-12-23 02:05:32 +02:00
parent 6ce97907ed
commit 38ec6e302c

View file

@ -766,7 +766,9 @@ main (int argc, char **argv)
{
const char *err;
#if CAIRO_CAN_TEST_PDF_SURFACE || CAIRO_CAN_TEST_SVG_SURFACE
g_type_init ();
#endif
#if CAIRO_CAN_TEST_SVG_SURFACE
rsvg_init ();