diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-07-18 23:39:26 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-07-18 23:39:26 +0000 |
commit | 4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81 (patch) | |
tree | 63b0cecda2350e250c3a1de4a53f43befab1b076 /gtk/gtkfixed.c | |
parent | b613a74cb20a480f9d95579243278660af300cee (diff) | |
download | gtk+-4e2b60ac4d32c5bef5b192a12a59f8c2a3124f81.tar.gz |
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.
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r-- | gtk/gtkfixed.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index ab1bffceae..84aaf63968 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -129,7 +129,6 @@ gtk_fixed_put (GtkFixed *fixed, { GtkFixedChild *child_info; - g_return_if_fail (fixed != NULL); g_return_if_fail (GTK_IS_FIXED (fixed)); g_return_if_fail (widget != NULL); @@ -163,7 +162,6 @@ gtk_fixed_move (GtkFixed *fixed, GtkFixedChild *child; GList *children; - g_return_if_fail (fixed != NULL); g_return_if_fail (GTK_IS_FIXED (fixed)); g_return_if_fail (widget != NULL); @@ -193,7 +191,6 @@ gtk_fixed_map (GtkWidget *widget) GtkFixedChild *child; GList *children; - g_return_if_fail (widget != NULL); g_return_if_fail (GTK_IS_FIXED (widget)); GTK_WIDGET_SET_FLAGS (widget, GTK_MAPPED); @@ -219,7 +216,6 @@ gtk_fixed_realize (GtkWidget *widget) GdkWindowAttr attributes; gint attributes_mask; - g_return_if_fail (widget != NULL); g_return_if_fail (GTK_IS_FIXED (widget)); GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED); @@ -254,7 +250,6 @@ gtk_fixed_size_request (GtkWidget *widget, GList *children; GtkRequisition child_requisition; - g_return_if_fail (widget != NULL); g_return_if_fail (GTK_IS_FIXED (widget)); g_return_if_fail (requisition != NULL); @@ -296,7 +291,6 @@ gtk_fixed_size_allocate (GtkWidget *widget, GList *children; guint16 border_width; - g_return_if_fail (widget != NULL); g_return_if_fail (GTK_IS_FIXED(widget)); g_return_if_fail (allocation != NULL); @@ -334,7 +328,6 @@ static void gtk_fixed_add (GtkContainer *container, GtkWidget *widget) { - g_return_if_fail (container != NULL); g_return_if_fail (GTK_IS_FIXED (container)); g_return_if_fail (widget != NULL); @@ -349,7 +342,6 @@ gtk_fixed_remove (GtkContainer *container, GtkFixedChild *child; GList *children; - g_return_if_fail (container != NULL); g_return_if_fail (GTK_IS_FIXED (container)); g_return_if_fail (widget != NULL); @@ -390,7 +382,6 @@ gtk_fixed_forall (GtkContainer *container, GtkFixedChild *child; GList *children; - g_return_if_fail (container != NULL); g_return_if_fail (GTK_IS_FIXED (container)); g_return_if_fail (callback != NULL); |