summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-29 14:09:44 +0200
committerraveit65 <[email protected]>2019-05-10 10:18:54 +0200
commit30e3cf24616624c609b21d97db939ea1e581ac11 (patch)
tree5c0dede99816b615953932e2c4c87f98ac3473aa /mate-window-picker-applet
parent818039f9d1d53121f38477872d909a54075fd8cf (diff)
downloadmate-netbook-30e3cf24616624c609b21d97db939ea1e581ac11.tar.bz2
mate-netbook-30e3cf24616624c609b21d97db939ea1e581ac11.tar.xz
Fix an unseen compilation warning
Diffstat (limited to 'mate-window-picker-applet')
-rw-r--r--mate-window-picker-applet/task-title.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-window-picker-applet/task-title.c b/mate-window-picker-applet/task-title.c
index 1f0ed7c..8cc2e72 100644
--- a/mate-window-picker-applet/task-title.c
+++ b/mate-window-picker-applet/task-title.c
@@ -111,9 +111,10 @@ on_close_clicked (GtkButton *button,
g_return_val_if_fail (TASK_IS_TITLE (title), FALSE);
priv = title->priv;
+ ret = FALSE;
if (event->button != 1 || !priv->mouse_in_close_button)
- return FALSE;
+ return ret;
window = wnck_screen_get_active_window (priv->screen);