summaryrefslogtreecommitdiff
path: root/libnotify/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnotify/notify.c')
-rw-r--r--libnotify/notify.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libnotify/notify.c b/libnotify/notify.c
index efe8bd8..bf7d89b 100644
--- a/libnotify/notify.c
+++ b/libnotify/notify.c
@@ -153,7 +153,9 @@ notify_init (const char *app_name)
notify_set_app_name (app_name);
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
_initted = TRUE;