summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-05-03 08:58:43 +0200
committerMartin Wimpress <[email protected]>2019-09-23 19:49:55 +0100
commitf43e99f1bed301df52af4fc14c02588b0cdefc9d (patch)
tree2126aced1c1b9adefe569a1e2e5dc1feebcd71c2
parent3e666c2bc9c9d84ce80e54d2b5ea3a6d782e280b (diff)
downloadmate-netbook-f43e99f1bed301df52af4fc14c02588b0cdefc9d.tar.bz2
mate-netbook-f43e99f1bed301df52af4fc14c02588b0cdefc9d.tar.xz
Use the same variable name for return value than elsewhere
-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