summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-29 14:09:44 +0200
committerMartin Wimpress <[email protected]>2019-09-23 19:48:53 +0100
commit7c81a8e052dd84c09d88934295ac35408bddd409 (patch)
treee637d42a8a432c3a8bc73b840c7718d99176ff20
parent0a930323e0c41948aefe57729bda98af455ba8e8 (diff)
downloadmate-netbook-7c81a8e052dd84c09d88934295ac35408bddd409.tar.bz2
mate-netbook-7c81a8e052dd84c09d88934295ac35408bddd409.tar.xz
Fix an unseen compilation warning
-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);