From f5623ae6dccb9115f4b58c8b96857b78966253d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20Deparis?= Date: Fri, 3 May 2019 08:58:43 +0200 Subject: Use the same variable name for return value than elsewhere --- mate-window-picker-applet/task-title.c | 12 ++++++------ 1 file 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 -- cgit v1.2.1