summaryrefslogtreecommitdiff
path: root/examples/test-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/test-xml.c')
-rw-r--r--examples/test-xml.c2
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);