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
@ -244,7 +244,7 @@ add_child (GtkWidget *widget,
|
||||
priv = gtk_stack_switcher_get_instance_private (self);
|
||||
|
||||
button = gtk_radio_button_new (NULL);
|
||||
gtk_button_set_focus_on_click (GTK_BUTTON (button), FALSE);
|
||||
gtk_widget_set_focus_on_click (button, FALSE);
|
||||
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (button), FALSE);
|
||||
|
||||
update_button (self, widget, button);
|
||||
|
||||
Reference in New Issue
Block a user