summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-11-17 10:07:18 +0100
committerraveit65 <[email protected]>2020-11-26 11:50:18 +0100
commit921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab (patch)
tree06400a1c76c6d24426f936f72edc92c8e043c0c8 /src/daemon/daemon.c
parentc1dd04d294e329da95c515d7f5a9ac7a00d269cc (diff)
downloadmate-notification-daemon-921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab.tar.bz2
mate-notification-daemon-921920e1dc19da3f7a6c50e7f6add9f4b42aa6ab.tar.xz
Group common constants in a single file
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c4
1 files changed, 1 insertions, 3 deletions
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);