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/gtkpixmap.c | |
parent | b613a74cb20a480f9d95579243278660af300cee (diff) | |
download | gdk-pixbuf-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/gtkpixmap.c')
-rw-r--r-- | gtk/gtkpixmap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/gtkpixmap.c b/gtk/gtkpixmap.c index ac9d84cfc..109b68cc4 100644 --- a/gtk/gtkpixmap.c +++ b/gtk/gtkpixmap.c @@ -124,7 +124,6 @@ gtk_pixmap_set (GtkPixmap *pixmap, gint oldwidth; gint oldheight; - g_return_if_fail (pixmap != NULL); g_return_if_fail (GTK_IS_PIXMAP (pixmap)); if (pixmap->pixmap != val) @@ -176,7 +175,6 @@ gtk_pixmap_get (GtkPixmap *pixmap, GdkPixmap **val, GdkBitmap **mask) { - g_return_if_fail (pixmap != NULL); g_return_if_fail (GTK_IS_PIXMAP (pixmap)); if (val) @@ -193,7 +191,6 @@ gtk_pixmap_expose (GtkWidget *widget, GtkMisc *misc; gint x, y; - g_return_val_if_fail (widget != NULL, FALSE); g_return_val_if_fail (GTK_IS_PIXMAP (widget), FALSE); g_return_val_if_fail (event != NULL, FALSE); @@ -247,7 +244,6 @@ gtk_pixmap_expose (GtkWidget *widget, void gtk_pixmap_set_build_insensitive (GtkPixmap *pixmap, gboolean build) { - g_return_if_fail (pixmap != NULL); g_return_if_fail (GTK_IS_PIXMAP (pixmap)); pixmap->build_insensitive = build; |