summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-10-23 12:29:10 -0700
committerraveit65 <[email protected]>2020-10-24 16:49:14 +0200
commitbcca954c9c4928b59b26e8b34543499652e45c70 (patch)
treea1b7f50629b644220a0f8bfeee225918b4877962 /src
parent941ab7c4626e66537755cab9285f5a437fc6d888 (diff)
downloadmate-notification-daemon-bcca954c9c4928b59b26e8b34543499652e45c70.tar.bz2
mate-notification-daemon-bcca954c9c4928b59b26e8b34543499652e45c70.tar.xz
Formatting
Diffstat (limited to 'src')
-rw-r--r--src/daemon/daemon.c6
-rw-r--r--src/themes/nodoka/nodoka-theme.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index bcc8625..b8254c6 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -1152,7 +1152,7 @@ static gboolean fullscreen_window_exists(GtkWidget* nw)
g_return_val_if_fail (GDK_IS_X11_DISPLAY (gdk_display_get_default ()), FALSE);
- wnck_screen = wnck_screen_get(GDK_SCREEN_XNUMBER(gdk_window_get_screen(gtk_widget_get_window(nw))));
+ wnck_screen = wnck_screen_get (GDK_SCREEN_XNUMBER (gdk_window_get_screen (gtk_widget_get_window (nw))));
wnck_screen_force_update (wnck_screen);
@@ -1500,8 +1500,8 @@ static gboolean notify_daemon_notify_handler(NotifyDaemonNotifications *object,
#ifdef HAVE_X11
if (GDK_IS_X11_DISPLAY (gdk_display_get_default ()) &&
- window_xid != None &&
- !theme_get_always_stack (nw))
+ window_xid != None &&
+ !theme_get_always_stack (nw))
{
/*
* Do nothing here if we were passed an XID; we'll call
diff --git a/src/themes/nodoka/nodoka-theme.c b/src/themes/nodoka/nodoka-theme.c
index d194d7f..79af140 100644
--- a/src/themes/nodoka/nodoka-theme.c
+++ b/src/themes/nodoka/nodoka-theme.c
@@ -137,8 +137,8 @@ get_size_of_widgets_monitor(GtkWidget *widget, int *width, int *height)
{
GdkWindow *window = gtk_widget_get_window (widget);
GdkMonitor *monitor = gdk_display_get_monitor_at_window (
- gdk_window_get_display (window),
- window);
+ gdk_window_get_display (window),
+ window);
GdkRectangle workarea;
gdk_monitor_get_workarea (monitor, &workarea);
if (width) *width = workarea.width;