summaryrefslogtreecommitdiff
path: root/rest/test-runner.c
diff options
context:
space:
mode:
Diffstat (limited to 'rest/test-runner.c')
-rw-r--r--rest/test-runner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest/test-runner.c b/rest/test-runner.c
index 0baa243..2f51043 100644
--- a/rest/test-runner.c
+++ b/rest/test-runner.c
@@ -26,7 +26,9 @@
int
main (int argc, char *argv[])
{
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
test_add ("/oauth/param-encoding", test_param_encoding);