[Xfce4-commits] [apps/xfce4-terminal] 01/01: Do not shadow close() symbol

noreply at xfce.org noreply at xfce.org
Tue Oct 31 16:16:31 CET 2017


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit cee1dd01be5205fb95dfda3a67beb520c78833a4
Author: Igor <f2404 at yandex.ru>
Date:   Tue Oct 31 11:14:50 2017 -0400

    Do not shadow close() symbol
---
 terminal/terminal-search-dialog.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/terminal/terminal-search-dialog.c b/terminal/terminal-search-dialog.c
index 507ad7f..663773b 100644
--- a/terminal/terminal-search-dialog.c
+++ b/terminal/terminal-search-dialog.c
@@ -82,7 +82,7 @@ terminal_search_dialog_class_init (TerminalSearchDialogClass *klass)
 static void
 terminal_search_dialog_init (TerminalSearchDialog *dialog)
 {
-  GtkWidget *close;
+  GtkWidget *close_button;
   GtkWidget *hbox;
   GtkWidget *vbox;
   GtkWidget *label;
@@ -90,9 +90,9 @@ terminal_search_dialog_init (TerminalSearchDialog *dialog)
   gtk_window_set_title (GTK_WINDOW (dialog), _("Find"));
   gtk_window_set_default_size (GTK_WINDOW (dialog), 400, -1);
 
-  close = xfce_gtk_button_new_mixed ("window-close", _("_Close"));
-  gtk_dialog_add_action_widget (GTK_DIALOG (dialog), close, GTK_RESPONSE_CLOSE);
-  gtk_widget_set_can_default (close, TRUE);
+  close_button = xfce_gtk_button_new_mixed ("window-close", _("_Close"));
+  gtk_dialog_add_action_widget (GTK_DIALOG (dialog), close_button, GTK_RESPONSE_CLOSE);
+  gtk_widget_set_can_default (close_button, TRUE);
 
   dialog->button_prev = xfce_gtk_button_new_mixed ("go-previous", _("_Previous"));
   gtk_dialog_add_action_widget (GTK_DIALOG (dialog), dialog->button_prev, TERMINAL_RESPONSE_SEARCH_PREV);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list