summaryrefslogtreecommitdiff
path: root/tools/notify-send.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/notify-send.c')
-rw-r--r--tools/notify-send.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/notify-send.c b/tools/notify-send.c
index cafcf15..abfffe6 100644
--- a/tools/notify-send.c
+++ b/tools/notify-send.c
@@ -173,7 +173,9 @@ main (int argc, char *argv[])
setlocale (LC_ALL, "");
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
g_set_prgname (argv[0]);
g_log_set_always_fatal (G_LOG_LEVEL_ERROR | G_LOG_LEVEL_CRITICAL);