mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
radiobutton: Remove redundant call
The call is done by GtkButton already, no need to override it.
This commit is contained in:
parent
7edf79de26
commit
b314f03bf4
@ -210,7 +210,6 @@ gtk_radio_button_init (GtkRadioButton *radio_button)
|
|||||||
GtkRadioButtonPrivate);
|
GtkRadioButtonPrivate);
|
||||||
priv = radio_button->priv;
|
priv = radio_button->priv;
|
||||||
|
|
||||||
gtk_widget_set_has_window (GTK_WIDGET (radio_button), FALSE);
|
|
||||||
gtk_widget_set_receives_default (GTK_WIDGET (radio_button), FALSE);
|
gtk_widget_set_receives_default (GTK_WIDGET (radio_button), FALSE);
|
||||||
|
|
||||||
_gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio_button), TRUE);
|
_gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio_button), TRUE);
|
||||||
|
Loading…
Reference in New Issue
Block a user