Mercurial > geeqie.yaz
comparison src/exif.c @ 1422:91bed0d66cf2
gint -> gboolean and tidy up.
author | zas_ |
---|---|
date | Thu, 12 Mar 2009 22:35:45 +0000 |
parents | fe4da037be21 |
children | c776b1310ca6 |
comparison
equal
deleted
inserted
replaced
1421:130054d9dd8a | 1422:91bed0d66cf2 |
---|---|
605 { | 605 { |
606 if (!item || !item->marker) return NULL; | 606 if (!item || !item->marker) return NULL; |
607 return g_strdup(_(item->marker->description)); | 607 return g_strdup(_(item->marker->description)); |
608 } | 608 } |
609 | 609 |
610 const gchar *exif_item_get_format_name(ExifItem *item, gint brief) | 610 const gchar *exif_item_get_format_name(ExifItem *item, gboolean brief) |
611 { | 611 { |
612 if (!item || !item->marker) return NULL; | 612 if (!item || !item->marker) return NULL; |
613 return (brief) ? ExifFormatList[item->format].short_name : ExifFormatList[item->format].description; | 613 return (brief) ? ExifFormatList[item->format].short_name : ExifFormatList[item->format].description; |
614 } | 614 } |
615 | 615 |