diff options
Diffstat (limited to 'examples/test-xml.c')
-rw-r--r-- | examples/test-xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/test-xml.c b/examples/test-xml.c index 5e81625..6e132f9 100644 --- a/examples/test-xml.c +++ b/examples/test-xml.c @@ -113,7 +113,9 @@ main (gint argc, gchar **argv) RestProxyCall *call; GMainLoop *loop; +#if !GLIB_CHECK_VERSION (2, 36 ,0) g_type_init (); +#endif loop = g_main_loop_new (NULL, FALSE); |