Use gtk_widget_set_focus_on_click() instead of deprecated setters
https://bugzilla.gnome.org/show_bug.cgi?id=757269
This commit is contained in:
committed by
Matthias Clasen
parent
9a29a2768b
commit
e364ae3ea8
@ -698,7 +698,7 @@ gtk_toolbar_init (GtkToolbar *toolbar)
|
||||
gtk_button_set_relief (GTK_BUTTON (priv->arrow_button),
|
||||
get_button_relief (toolbar));
|
||||
|
||||
gtk_button_set_focus_on_click (GTK_BUTTON (priv->arrow_button), FALSE);
|
||||
gtk_widget_set_focus_on_click (priv->arrow_button, FALSE);
|
||||
|
||||
priv->arrow = gtk_image_new_from_icon_name ("pan-down-symbolic", GTK_ICON_SIZE_BUTTON);
|
||||
gtk_widget_set_name (priv->arrow, "gtk-toolbar-arrow");
|
||||
|
||||
Reference in New Issue
Block a user