Mercurial > geeqie
diff src/format_canon.c @ 1453:bc3f5c0432f6
gint -> gboolean where applicable. The end (ouf!).
author | zas_ |
---|---|
date | Mon, 16 Mar 2009 20:39:09 +0000 |
parents | a3d3208b0c50 |
children | 956aab097ea7 |
line wrap: on
line diff
--- a/src/format_canon.c Mon Mar 16 19:11:39 2009 +0000 +++ b/src/format_canon.c Mon Mar 16 20:39:09 2009 +0000 @@ -43,8 +43,8 @@ *----------------------------------------------------------------------------- */ -static gint canon_cr2_tiff_entry(guchar *data, const guint len, guint offset, ExifByteOrder bo, - guint *image_offset, gint *jpeg_encoding) +static gboolean canon_cr2_tiff_entry(guchar *data, const guint len, guint offset, ExifByteOrder bo, + guint *image_offset, gint *jpeg_encoding) { guint tag; guint type; @@ -117,8 +117,8 @@ return exif_byte_get_int32(data + offset + count * EXIF_TIFD_SIZE, bo); } -gint format_canon_raw_cr2(guchar *data, const guint len, - guint *image_offset, guint *exif_offset) +gboolean format_canon_raw_cr2(guchar *data, const guint len, + guint *image_offset, guint *exif_offset) { guint jpeg_offset = 0; ExifByteOrder bo; @@ -150,8 +150,8 @@ #define CRW_HEADER_SIZE 26 #define CRW_DIR_ENTRY_SIZE 10 -gint format_canon_raw_crw(guchar *data, const guint len, - guint *image_offset, guint *exif_offset) +gboolean format_canon_raw_crw(guchar *data, const guint len, + guint *image_offset, guint *exif_offset) { guint block_offset; guint data_length; @@ -601,8 +601,8 @@ } #endif -gint format_canon_makernote(ExifData *exif, guchar *tiff, guint offset, - guint size, ExifByteOrder bo) +gboolean format_canon_makernote(ExifData *exif, guchar *tiff, guint offset, + guint size, ExifByteOrder bo) { ExifItem *item;