diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2002-01-30 22:29:03 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2002-01-30 22:29:03 +0000 |
commit | 4dddfb2dc62a68196f0f3e52712a25c427275b37 (patch) | |
tree | 63c2d56da9bbafaf5d90b9a87d22ef483a7ad40f /gtk/gtkradiobutton.c | |
parent | 95ab2a72b4ba0a84b9c430d941f778367e02584b (diff) | |
download | gtk+-4dddfb2dc62a68196f0f3e52712a25c427275b37.tar.gz |
Remove excess calls to g_return_if_fail from static and virtual functions.
Diffstat (limited to 'gtk/gtkradiobutton.c')
-rw-r--r-- | gtk/gtkradiobutton.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index ea4b8d5567..bc672a768a 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -315,8 +315,6 @@ gtk_radio_button_destroy (GtkObject *object) GtkRadioButton *tmp_button; GSList *tmp_list; - g_return_if_fail (GTK_IS_RADIO_BUTTON (object)); - radio_button = GTK_RADIO_BUTTON (object); radio_button->group = g_slist_remove (radio_button->group, radio_button); @@ -498,8 +496,6 @@ gtk_radio_button_clicked (GtkButton *button) gint toggled; gboolean depressed; - g_return_if_fail (GTK_IS_RADIO_BUTTON (button)); - radio_button = GTK_RADIO_BUTTON (button); toggle_button = GTK_TOGGLE_BUTTON (button); toggled = FALSE; @@ -591,8 +587,6 @@ gtk_radio_button_draw_indicator (GtkCheckButton *check_button, gint focus_pad; gboolean interior_focus; - g_return_if_fail (GTK_IS_RADIO_BUTTON (check_button)); - if (GTK_WIDGET_VISIBLE (check_button) && GTK_WIDGET_MAPPED (check_button)) { widget = GTK_WIDGET (check_button); |