Patch from Matthias Clasen to remove remove all instances of
Wed Jul 18 19:28:46 2001 Owen Taylor <otaylor@redhat.com> * gtk/*.c: Patch from Matthias Clasen to remove remove all instances of g_return_if_fail (foo != NULL); that are immediately before a g_return_if_fail (GTK_IS_FOO (foo)); since the second check catches the NULL anyways.
This commit is contained in:
@ -101,7 +101,6 @@ gtk_hbox_size_request (GtkWidget *widget,
|
||||
gint nvis_children;
|
||||
gint width;
|
||||
|
||||
g_return_if_fail (widget != NULL);
|
||||
g_return_if_fail (GTK_IS_HBOX (widget));
|
||||
g_return_if_fail (requisition != NULL);
|
||||
|
||||
@ -165,7 +164,6 @@ gtk_hbox_size_allocate (GtkWidget *widget,
|
||||
gint x;
|
||||
GtkTextDirection direction;
|
||||
|
||||
g_return_if_fail (widget != NULL);
|
||||
g_return_if_fail (GTK_IS_HBOX (widget));
|
||||
g_return_if_fail (allocation != NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user