summaryrefslogtreecommitdiff
path: root/json-glib/tests/path.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/tests/path.c')
-rw-r--r--json-glib/tests/path.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/json-glib/tests/path.c b/json-glib/tests/path.c
index 67d2a87..7b1f654 100644
--- a/json-glib/tests/path.c
+++ b/json-glib/tests/path.c
@@ -152,7 +152,9 @@ int
main (int argc,
char *argv[])
{
+#if !GLIB_CHECK_VERSION (2, 35, 1)
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=");