summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/gdk-pixbuf-io.c
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2004-07-09 22:40:37 +0000
committerManish Singh <yosh@src.gnome.org>2004-07-09 22:40:37 +0000
commit2633a03012796946a7af70bb89ade4948975f0eb (patch)
treeb1a37139f9d38dd7946981da58ef5ee0ad98b9fc /gdk-pixbuf/gdk-pixbuf-io.c
parent8889f2b45d87303873ef5cb2590c3de8157707af (diff)
downloadgtk+-2633a03012796946a7af70bb89ade4948975f0eb.tar.gz
function doesn't return a value, so don't use g_return_val_if_fail()
Fri Jul 9 15:38:06 2004 Manish Singh <yosh@gimp.org> * gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): function doesn't return a value, so don't use g_return_val_if_fail() * gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): initialize dest in the can't happen case, to quiet gcc. * io-tiff.c (tifflibversion): enclose in #if TIFFLIB_VERSION >= 20031226.
Diffstat (limited to 'gdk-pixbuf/gdk-pixbuf-io.c')
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index c6a3ea1a2c..809df09ebb 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -1886,7 +1886,7 @@ void
gdk_pixbuf_format_set_disabled (GdkPixbufFormat *format,
gboolean disabled)
{
- g_return_val_if_fail (format != NULL, FALSE);
+ g_return_if_fail (format != NULL);
format->disabled = disabled != FALSE;
}