[gtk+] checkbutton: Remove redundant call
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] checkbutton: Remove redundant call
- Date: Mon, 5 Sep 2011 16:56:17 +0000 (UTC)
commit 7edf79de265b783c5053773892aa3e232870c8cb
Author: Benjamin Otte <otte redhat com>
Date: Tue Aug 30 15:10:14 2011 +0200
checkbutton: Remove redundant call
The call is done by GtkButton already, no need to override it.
gtk/gtkcheckbutton.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcheckbutton.c b/gtk/gtkcheckbutton.c
index 7982e7f..142afe3 100644
--- a/gtk/gtkcheckbutton.c
+++ b/gtk/gtkcheckbutton.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]