checkbutton: Remove redundant call

The call is done by GtkButton already, no need to override it.
This commit is contained in:
Benjamin Otte 2011-08-30 15:10:14 +02:00
parent 4ea01b2cf3
commit 7edf79de26

View File

@ -110,7 +110,6 @@ gtk_check_button_class_init (GtkCheckButtonClass *class)
static void
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_toggle_button_set_mode (GTK_TOGGLE_BUTTON (check_button), TRUE);
gtk_button_set_alignment (GTK_BUTTON (check_button), 0.0, 0.5);