diff options
Diffstat (limited to 'json-glib/tests/gvariant.c')
-rw-r--r-- | json-glib/tests/gvariant.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/json-glib/tests/gvariant.c b/json-glib/tests/gvariant.c index 074dd69..c8eb143 100644 --- a/json-glib/tests/gvariant.c +++ b/json-glib/tests/gvariant.c @@ -204,7 +204,9 @@ main (gint argc, gchar *argv[]) TestCase test_case; gchar *test_name; +#if !GLIB_CHECK_VERSION (2, 35, 1) g_type_init (); +#endif g_test_init (&argc, &argv, NULL); /* GVariant to JSON */ |