summaryrefslogtreecommitdiff
path: root/tests/src/test-runner.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test-runner.c')
-rw-r--r--tests/src/test-runner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/src/test-runner.c b/tests/src/test-runner.c
index 80560158..961d2352 100644
--- a/tests/src/test-runner.c
+++ b/tests/src/test-runner.c
@@ -1181,7 +1181,9 @@ main (int argc, char **argv)
gchar cwd[1024];
GError *error = NULL;
+#if !defined(GLIB_VERSION_2_36)
g_type_init ();
+#endif
loop = g_main_loop_new (NULL, FALSE);