summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-error.c2
-rw-r--r--tests/test-replace.c2
2 files changed, 4 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");
diff --git a/tests/test-replace.c b/tests/test-replace.c
index 56b13c5..ec7b5fc 100644
--- a/tests/test-replace.c
+++ b/tests/test-replace.c
@@ -28,7 +28,9 @@ main ()
GError *error;
error = NULL;
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
notify_init ("Replace Test");