summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.c
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2015-10-23 22:13:30 +0200
committerMatthias Clasen <mclasen@redhat.com>2015-11-03 07:44:17 -0500
commite364ae3ea8ac72e636bb1dd91d98814b655e844e (patch)
treecb26a4568fb7f9ba85d146a73e4978b9f2347d7e /gtk/gtkpathbar.c
parent9a29a2768b81395eb21db5bd8762c419b0e30a8f (diff)
downloadgtk+-e364ae3ea8ac72e636bb1dd91d98814b655e844e.tar.gz
Use gtk_widget_set_focus_on_click() instead of deprecated setters
https://bugzilla.gnome.org/show_bug.cgi?id=757269
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r--gtk/gtkpathbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 33d64f6815..51b4fc1a02 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1575,7 +1575,7 @@ make_directory_button (GtkPathBar *path_bar,
button_data->type = find_button_type (path_bar, file);
button_data->button = gtk_toggle_button_new ();
atk_obj = gtk_widget_get_accessible (button_data->button);
- gtk_button_set_focus_on_click (GTK_BUTTON (button_data->button), FALSE);
+ gtk_widget_set_focus_on_click (button_data->button, FALSE);
gtk_widget_add_events (button_data->button, GDK_SCROLL_MASK);
switch (button_data->type)