# HG changeset patch # User zas_ # Date 1210622188 0 # Node ID eaf94facc19060b45d419003fc6f5e289bd9f065 # Parent 9c74ff4bf1cde1a4edea0bbdf44c2e23ff6e2fdb Disable non-working Iptc.Application2.Keywords reading introduced in revision 736. diff -r 9c74ff4bf1cd -r eaf94facc190 src/bar_info.c --- 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);