summaryrefslogtreecommitdiffstats
path: root/test/test-mock.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-mock.c')
-rw-r--r--test/test-mock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-mock.c b/test/test-mock.c
index 10c0a36..facae53 100644
--- a/test/test-mock.c
+++ b/test/test-mock.c
@@ -223,7 +223,9 @@ test_signal (Fixture *fixture, gconstpointer data)
int main (int argc, char *argv[])
{
+#if !(GLIB_CHECK_VERSION (2, 36, 0))
g_type_init ();
+#endif
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("http://ufo.kit.edu/ufo/ticket");