Remove excess calls to g_return_if_fail from static and virtual functions.

This commit is contained in:
Matthias Clasen
2002-01-30 22:29:03 +00:00
parent 95ab2a72b4
commit 4dddfb2dc6
40 changed files with 124 additions and 625 deletions

View File

@ -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;