[Xfce4-commits] [xfce/thunar] 04/06: Replace gtk_button_set_focus_on_click

noreply at xfce.org noreply at xfce.org
Sat Jun 2 06:52:27 CEST 2018


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

a   n   d   r   e       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 xfce/thunar.

commit b6df62a0e89479cd8f132da37fe76137827247f7
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Jun 2 01:48:31 2018 -0300

    Replace gtk_button_set_focus_on_click
---
 thunar/thunar-history-action.c | 2 +-
 thunar/thunar-window.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/thunar/thunar-history-action.c b/thunar/thunar-history-action.c
index 30e451c..5f2baab 100644
--- a/thunar/thunar-history-action.c
+++ b/thunar/thunar-history-action.c
@@ -260,7 +260,7 @@ thunar_history_action_create_tool_item (GtkAction *action)
   gtk_container_add (GTK_CONTAINER (tool_item), button);
   gtk_button_set_relief (GTK_BUTTON (button),
       gtk_tool_item_get_relief_style (GTK_TOOL_ITEM (tool_item)));
-  gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
+  gtk_widget_set_focus_on_click (button, FALSE);
   gtk_widget_show (button);
 
 G_GNUC_BEGIN_IGNORE_DEPRECATIONS
diff --git a/thunar/thunar-window.c b/thunar/thunar-window.c
index 197ab8b..25ff9cd 100644
--- a/thunar/thunar-window.c
+++ b/thunar/thunar-window.c
@@ -1827,7 +1827,7 @@ thunar_window_notebook_insert (ThunarWindow *window,
   button = gtk_button_new ();
   gtk_box_pack_start (GTK_BOX (label_box), button, FALSE, FALSE, 0);
   gtk_widget_set_can_default (button, FALSE);
-  gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
+  gtk_widget_set_focus_on_click (button, FALSE);
   gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
   gtk_widget_set_tooltip_text (button, _("Close tab"));
   g_signal_connect_swapped (G_OBJECT (button), "clicked", G_CALLBACK (gtk_widget_destroy), view);

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


More information about the Xfce4-commits mailing list