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.
+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.
+
Wed Jul 7 23:53:58 2004 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-io.h:
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;
}
}
break;
default:
+ dest = NULL;
g_warning ("gdk_pixbuf_rotate_simple() can only rotate "
"by multiples of 90 degrees");
g_assert_not_reached ();
g_free (pixels);
}
+#if TIFFLIB_VERSION >= 20031226
static gboolean tifflibversion (int *major, int *minor, int *revision)
{
if (sscanf (TIFFGetVersion(),
return TRUE;
}
+#endif
static GdkPixbuf *
tiff_image_parse (TIFF *tiff, TiffContext *context, GError **error)