mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 12:20:10 +00:00
checkbutton: Remove redundant call
The call is done by GtkButton already, no need to override it.
This commit is contained in:
parent
4ea01b2cf3
commit
7edf79de26
@ -110,7 +110,6 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
|
|||||||
static void
|
static void
|
||||||
gtk_check_button_init (GtkCheckButton *check_button)
|
gtk_check_button_init (GtkCheckButton *check_button)
|
||||||
{
|
{
|
||||||
gtk_widget_set_has_window (GTK_WIDGET (check_button), FALSE);
|
|
||||||
gtk_widget_set_receives_default (GTK_WIDGET (check_button), FALSE);
|
gtk_widget_set_receives_default (GTK_WIDGET (check_button), FALSE);
|
||||||
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (check_button), TRUE);
|
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (check_button), TRUE);
|
||||||
gtk_button_set_alignment (GTK_BUTTON (check_button), 0.0, 0.5);
|
gtk_button_set_alignment (GTK_BUTTON (check_button), 0.0, 0.5);
|
||||||
|
Loading…
Reference in New Issue
Block a user