summaryrefslogtreecommitdiff
path: root/gtk/gtkhbox.c
diff options
context:
space:
mode:
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 ac1873457..2d85593e9 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;