From 4dddfb2dc62a68196f0f3e52712a25c427275b37 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 30 Jan 2002 22:29:03 +0000 Subject: Remove excess calls to g_return_if_fail from static and virtual functions. --- gtk/gtkradiobutton.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gtk/gtkradiobutton.c') 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); -- cgit v1.2.1