mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 18:08:03 +02:00
[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:
parent
6ce97907ed
commit
38ec6e302c
1 changed files with 2 additions and 0 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue