aboutsummaryrefslogtreecommitdiff
path: root/tests/server-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server-test.c')
-rw-r--r--tests/server-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server-test.c b/tests/server-test.c
index 32299af..06b6233 100644
--- a/tests/server-test.c
+++ b/tests/server-test.c
@@ -270,7 +270,9 @@ test_objects_suite (void)
gint
main (gint argc, gchar * argv[])
{
+#if !GLIB_CHECK_VERSION (2, 35, 1)
g_type_init();
+#endif
g_test_init(&argc, &argv, NULL);
/* Test suites */