Mercurial > geeqie.yaz
changeset 643:eaf94facc190
Disable non-working Iptc.Application2.Keywords reading introduced in revision 736.
author | zas_ |
---|---|
date | Mon, 12 May 2008 19:56:28 +0000 |
parents | 9c74ff4bf1cd |
children | d062f6b5711a |
files | src/bar_info.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_info.c Mon May 12 17:10:40 2008 +0000 +++ b/src/bar_info.c Mon May 12 19:56:28 2008 +0000 @@ -300,7 +300,13 @@ if (!kw) break; *keywords = g_list_append(*keywords, (gpointer) kw); } - +#if 0 + /* FIXME: + * Exiv2 handles Iptc keywords as multiple entries with the + * same key, thus exif_get_item returns only the first keyword + * and the only way to get all keywords is to iterate through + * the item list. + */ item = exif_get_item(exif, "Iptc.Application2.Keywords"); for (i = 0; i < exif_item_get_elements(item); i++) { @@ -309,6 +315,7 @@ if (!kw) break; *keywords = g_list_append(*keywords, (gpointer) kw); } +#endif } exif_free(exif);