summaryrefslogtreecommitdiff
path: root/mate-window-picker-applet/task-title.c
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-05-03 08:58:43 +0200
committerraveit65 <[email protected]>2019-05-10 10:18:54 +0200
commitf5623ae6dccb9115f4b58c8b96857b78966253d9 (patch)
tree254efea92a8b303c649178f74d85f235a2e6b24c /mate-window-picker-applet/task-title.c
parentd3bc0361fb180458cbc6ae7740855ea24d235514 (diff)
downloadmate-netbook-f5623ae6dccb9115f4b58c8b96857b78966253d9.tar.bz2
mate-netbook-f5623ae6dccb9115f4b58c8b96857b78966253d9.tar.xz
Use the same variable name for return value than elsewhere
Diffstat (limited to 'mate-window-picker-applet/task-title.c')
-rw-r--r--mate-window-picker-applet/task-title.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mate-window-picker-applet/task-title.c b/mate-window-picker-applet/task-title.c
index 9c98df8..d30ba9c 100644
--- a/mate-window-picker-applet/task-title.c
+++ b/mate-window-picker-applet/task-title.c
@@ -106,14 +106,14 @@ on_close_clicked (GtkButton *button,
{
TaskTitlePrivate *priv;
WnckWindow *window;
- gboolean ret;
+ gboolean retval;
g_return_val_if_fail (TASK_IS_TITLE (title), FALSE);
priv = title->priv;
- ret = FALSE;
+ retval = FALSE;
if (event->button != 1 || !priv->mouse_in_close_button)
- return ret;
+ return retval;
window = wnck_screen_get_active_window (priv->screen);
@@ -128,16 +128,16 @@ on_close_clicked (GtkButton *button,
gdkscreen = gtk_widget_get_screen (GTK_WIDGET (title));
display = gdk_screen_get_display (gdkscreen);
wnck_window_close (window, gdk_x11_display_get_user_time (display));
- ret = TRUE;
+ retval = TRUE;
}
else if (priv->show_home_title)
{
// This is a logout click
- ret = start_logout_dialog (title);
+ retval = start_logout_dialog (title);
}
gtk_widget_queue_draw (GTK_WIDGET (title));
- return ret;
+ return retval;
}
static gboolean