[Xfce4-commits] [xfce/xfce4-panel] 68/73: Replace deprecated button_set_focus

noreply at xfce.org noreply at xfce.org
Sun Feb 26 16:34:49 CET 2017


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

andrzejr pushed a commit to branch master
in repository xfce/xfce4-panel.

commit 8f13703949d5e1b15efc6f8dda86220a328aa5b3
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Oct 31 20:14:01 2016 +0100

    Replace deprecated button_set_focus
---
 libxfce4panel/xfce-panel-convenience.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxfce4panel/xfce-panel-convenience.c b/libxfce4panel/xfce-panel-convenience.c
index 43a3c08..10c9b31 100644
--- a/libxfce4panel/xfce-panel-convenience.c
+++ b/libxfce4panel/xfce-panel-convenience.c
@@ -84,7 +84,7 @@ xfce_panel_create_toggle_button (void)
   gtk_widget_set_can_default (GTK_WIDGET (button), FALSE);
   gtk_widget_set_can_focus (GTK_WIDGET (button), FALSE);
   gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
-  gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
+  gtk_widget_set_focus_on_click (GTK_BUTTON (button), FALSE);
   gtk_widget_set_name (button, "xfce-panel-toggle-button");
 
   return button;

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


More information about the Xfce4-commits mailing list