summaryrefslogtreecommitdiff
path: root/tests/threaded.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threaded.c')
-rw-r--r--tests/threaded.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/threaded.c b/tests/threaded.c
index a0f5f0e..6283c9c 100644
--- a/tests/threaded.c
+++ b/tests/threaded.c
@@ -85,7 +85,9 @@ main (int argc, char **argv)
char *url;
int i;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
session = soup_session_sync_new ();