summaryrefslogtreecommitdiff
path: root/gtk/gtkhbox.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2002-01-30 22:29:03 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2002-01-30 22:29:03 +0000
commit4dddfb2dc62a68196f0f3e52712a25c427275b37 (patch)
tree63c2d56da9bbafaf5d90b9a87d22ef483a7ad40f /gtk/gtkhbox.c
parent95ab2a72b4ba0a84b9c430d941f778367e02584b (diff)
downloadgtk+-4dddfb2dc62a68196f0f3e52712a25c427275b37.tar.gz
Remove excess calls to g_return_if_fail from static and virtual functions.
Diffstat (limited to 'gtk/gtkhbox.c')
-rw-r--r--gtk/gtkhbox.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkhbox.c b/gtk/gtkhbox.c
index ac18734576..2d85593e95 100644
--- a/gtk/gtkhbox.c
+++ b/gtk/gtkhbox.c
@@ -101,9 +101,6 @@ gtk_hbox_size_request (GtkWidget *widget,
gint nvis_children;
gint width;
- g_return_if_fail (GTK_IS_HBOX (widget));
- g_return_if_fail (requisition != NULL);
-
box = GTK_BOX (widget);
requisition->width = 0;
requisition->height = 0;
@@ -164,9 +161,6 @@ gtk_hbox_size_allocate (GtkWidget *widget,
gint x;
GtkTextDirection direction;
- g_return_if_fail (GTK_IS_HBOX (widget));
- g_return_if_fail (allocation != NULL);
-
box = GTK_BOX (widget);
widget->allocation = *allocation;