diff options
author | rbuj <[email protected]> | 2021-10-27 18:00:56 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-11 16:08:17 +0100 |
commit | c6b9276aa54e8d320d0a3f480404393711463dfd (patch) | |
tree | 4b945d8d5471dfc0d0338d68ef14abf339c8358b /src/daemon | |
parent | c2823eeafa140917a87fccff91dcf2967d93b393 (diff) | |
download | mate-notification-daemon-c6b9276aa54e8d320d0a3f480404393711463dfd.tar.bz2 mate-notification-daemon-c6b9276aa54e8d320d0a3f480404393711463dfd.tar.xz |
Use a blank line at most
Diffstat (limited to 'src/daemon')
-rw-r--r-- | src/daemon/daemon.c | 2 | ||||
-rw-r--r-- | src/daemon/stack.c | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 3b09873..37d7006 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -186,7 +186,6 @@ static void name_lost_handler_cb (GDBusConnection *connection, gtk_main_quit(); } - static void notify_daemon_constructed (GObject *object) { NotifyDaemon *daemon; @@ -1395,7 +1394,6 @@ static gboolean notify_daemon_notify_handler(NotifyDaemonNotifications *object, *XXX This needs to handle file URIs and all that. */ - #ifdef HAVE_X11 if (GDK_IS_X11_DISPLAY (gdk_display_get_default ()) && g_variant_lookup(hints, "window-xid", "@u", &data)) diff --git a/src/daemon/stack.c b/src/daemon/stack.c index c4c3622..608436e 100644 --- a/src/daemon/stack.c +++ b/src/daemon/stack.c @@ -69,7 +69,6 @@ get_work_area (NotifyStack *stack, workarea = XInternAtom(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), "_NET_WORKAREA", True); - disp_screen = GDK_SCREEN_XNUMBER (stack->screen); /* Defaults in case of error */ @@ -81,7 +80,6 @@ get_work_area (NotifyStack *stack, if (workarea == None) return FALSE; - win = XRootWindow(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), disp_screen); result = XGetWindowProperty(GDK_DISPLAY_XDISPLAY(gdk_display_get_default()), @@ -97,7 +95,6 @@ get_work_area (NotifyStack *stack, &leftovers, &ret_workarea); - if (result != Success || type == None || format == 0 |