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.
This commit is contained in:
Manish Singh
2004-07-09 22:40:37 +00:00
committed by Manish Singh
parent 8889f2b45d
commit 2633a03012
4 changed files with 15 additions and 1 deletions

View File

@ -145,6 +145,7 @@ static void free_buffer (guchar *pixels, gpointer data)
g_free (pixels);
}
#if TIFFLIB_VERSION >= 20031226
static gboolean tifflibversion (int *major, int *minor, int *revision)
{
if (sscanf (TIFFGetVersion(),
@ -154,6 +155,7 @@ static gboolean tifflibversion (int *major, int *minor, int *revision)
return TRUE;
}
#endif
static GdkPixbuf *
tiff_image_parse (TIFF *tiff, TiffContext *context, GError **error)