summaryrefslogtreecommitdiff
path: root/tests/test-error.c
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2022-04-27 20:18:48 +0200
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2022-04-27 20:18:48 +0200
commit6e871a4047b93f2e2c376e63bcbba0feb993e41f (patch)
tree4b554119f5bc0b857e0aa290cd2298705fd2407a /tests/test-error.c
parent59553a5af275ad449335da8fdda43ee1ee709d2a (diff)
downloadlibnotify-6e871a4047b93f2e2c376e63bcbba0feb993e41f.tar.gz
cleanup: Do not use GLIB_CHECK_VERSION
It's not supported by GLib 2.26.0, the minimum version we required
Diffstat (limited to 'tests/test-error.c')
-rw-r--r--tests/test-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-error.c b/tests/test-error.c
index afcb59b..66d7675 100644
--- a/tests/test-error.c
+++ b/tests/test-error.c
@@ -29,7 +29,7 @@ main ()
{
NotifyNotification *n;
-#if !GLIB_CHECK_VERSION (2, 36, 0)
+#ifndef GLIB_VERSION_2_36
g_type_init ();
#endif