summaryrefslogtreecommitdiff
path: root/tests/oauth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/oauth2.c')
-rw-r--r--tests/oauth2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/oauth2.c b/tests/oauth2.c
index f4819ff..7bb1561 100644
--- a/tests/oauth2.c
+++ b/tests/oauth2.c
@@ -47,7 +47,9 @@ test_extract_token ()
int
main (int argc, char **argv)
{
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
test_extract_token ();