summaryrefslogtreecommitdiff
path: root/rest-extras/test-runner.c
diff options
context:
space:
mode:
Diffstat (limited to 'rest-extras/test-runner.c')
-rw-r--r--rest-extras/test-runner.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest-extras/test-runner.c b/rest-extras/test-runner.c
index 52ca1b1..1702e2c 100644
--- a/rest-extras/test-runner.c
+++ b/rest-extras/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 ("/flickr/error", test_flickr_error);