summaryrefslogtreecommitdiff
path: root/gtk/gtkvbox.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/gtkvbox.c
parent95ab2a72b4ba0a84b9c430d941f778367e02584b (diff)
downloadgtk+-4dddfb2dc62a68196f0f3e52712a25c427275b37.tar.gz
Remove excess calls to g_return_if_fail from static and virtual functions.
Diffstat (limited to 'gtk/gtkvbox.c')
-rw-r--r--gtk/gtkvbox.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/gtkvbox.c b/gtk/gtkvbox.c
index 35e0e709f2..3111dc93d2 100644
--- a/gtk/gtkvbox.c
+++ b/gtk/gtkvbox.c
@@ -102,9 +102,6 @@ gtk_vbox_size_request (GtkWidget *widget,
gint nvis_children;
gint height;
- g_return_if_fail (GTK_IS_VBOX (widget));
- g_return_if_fail (requisition != NULL);
-
box = GTK_BOX (widget);
requisition->width = 0;
requisition->height = 0;
@@ -162,9 +159,6 @@ gtk_vbox_size_allocate (GtkWidget *widget,
gint extra;
gint y;
- g_return_if_fail (GTK_IS_VBOX (widget));
- g_return_if_fail (allocation != NULL);
-
box = GTK_BOX (widget);
widget->allocation = *allocation;