summaryrefslogtreecommitdiff
path: root/libnotify/notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnotify/notify.c')
-rw-r--r--libnotify/notify.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libnotify/notify.c b/libnotify/notify.c
index 601f8bd..e6214c7 100644
--- a/libnotify/notify.c
+++ b/libnotify/notify.c
@@ -166,28 +166,20 @@ notify_init (const char *app_name)
return TRUE;
if (app_name == NULL) {
-#ifdef GLIB_VERSION_2_32
GApplication *application;
-#endif
app_name = _notify_get_snap_app ();
-#ifdef GLIB_VERSION_2_32
if (app_name == NULL &&
(application = g_application_get_default ())) {
app_name = g_application_get_application_id (application);
}
-#endif
}
if (!set_app_name (app_name)) {
return FALSE;
}
-#ifndef GLIB_VERSION_2_36
- g_type_init ();
-#endif
-
_initted = TRUE;
return TRUE;