Imported Upstream version 0.16.0
[platform/upstream/json-glib.git] / json-glib / tests / boxed.c
index deeef13..5e0fb01 100644 (file)
@@ -254,7 +254,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_add_func ("/boxed/serialize-property", test_serialize_boxed);