[gtk+] radiobutton: Remove redundant call



commit b314f03bf4d96e71eb1385db40959c610dbd1c7d
Author: Benjamin Otte <otte redhat com>
Date:   Tue Aug 30 15:10:49 2011 +0200

    radiobutton: Remove redundant call
    
    The call is done by GtkButton already, no need to override it.

 gtk/gtkradiobutton.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c
index cb1ba20..73f11c6 100644
--- a/gtk/gtkradiobutton.c
+++ b/gtk/gtkradiobutton.c
@@ -210,7 +210,6 @@ gtk_radio_button_init (GtkRadioButton *radio_button)
                                                     GtkRadioButtonPrivate);
   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_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio_button), TRUE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]