From 921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab Mon Sep 17 00:00:00 2001 From: rbuj Date: Tue, 17 Nov 2020 10:07:18 +0100 Subject: Group common constants in a single file --- src/daemon/daemon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/daemon/daemon.c') diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index b8254c6..c36e31e 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -54,8 +54,6 @@ #define MAX_NOTIFICATIONS 20 #define IMAGE_SIZE 48 #define IDLE_SECONDS 30 -#define NOTIFICATION_BUS_NAME "org.freedesktop.Notifications" -#define NOTIFICATION_BUS_PATH "/org/freedesktop/Notifications" #define NW_GET_NOTIFY_ID(nw) \ (GPOINTER_TO_UINT(g_object_get_data(G_OBJECT(nw), "_notify_id"))) @@ -1534,7 +1532,7 @@ static gboolean notify_daemon_notify_handler(NotifyDaemonNotifications *object, /* If the "use-active-monitor" gsettings key is set to TRUE, then * get the monitor the pointer is at. Otherwise, get the monitor * number the user has set in gsettings. */ - if (g_settings_get_boolean(daemon->gsettings, GSETTINGS_KEY_USE_ACTIVE)) + if (g_settings_get_boolean(daemon->gsettings, GSETTINGS_KEY_USE_ACTIVE_MONITOR)) { display = gdk_display_get_default (); seat = gdk_display_get_default_seat (display); -- cgit v1.2.1