summaryrefslogtreecommitdiff
path: root/tests/oauth-async.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/oauth-async.c')
-rw-r--r--tests/oauth-async.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/oauth-async.c b/tests/oauth-async.c
index a258127..a8fcdbb 100644
--- a/tests/oauth-async.c
+++ b/tests/oauth-async.c
@@ -119,7 +119,9 @@ main (int argc, char **argv)
OAuthProxy *oproxy;
GError *error = NULL;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
/* Install a timeout so that we don't hang or infinite loop */
g_timeout_add_seconds (10, on_timeout, NULL);