summaryrefslogtreecommitdiff
path: root/tests/test-error.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-error.c')
-rw-r--r--tests/test-error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-error.c b/tests/test-error.c
index b7b9662..afcb59b 100644
--- a/tests/test-error.c
+++ b/tests/test-error.c
@@ -29,7 +29,9 @@ main ()
{
NotifyNotification *n;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
notify_init ("Error Handling");