[tracker/functions] Apparently is the field called CountryName in IPTC's namespace of XMP
- From: Mikael Ottela <mottela src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/functions] Apparently is the field called CountryName in IPTC's namespace of XMP
- Date: Thu, 14 Jan 2010 09:07:51 +0000 (UTC)
commit 601586204eec8d45327a98165bc3fa422fd02b8b
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Dec 24 13:08:06 2009 +0100
Apparently is the field called CountryName in IPTC's namespace of XMP
src/tracker-extract/tracker-xmp.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-xmp.c b/src/tracker-extract/tracker-xmp.c
index 140b2e3..e124760 100644
--- a/src/tracker-extract/tracker-xmp.c
+++ b/src/tracker-extract/tracker-xmp.c
@@ -400,6 +400,9 @@ tracker_xmp_iter_simple (const gchar *uri,
if (!data->Country && g_ascii_strcasecmp (name, "Country") == 0) {
data->Country = g_strdup (value);
} else
+ if (!data->Country && g_ascii_strcasecmp (name, "CountryName") == 0) {
+ data->Country = g_strdup (value);
+ } else
if (!data->Country && g_ascii_strcasecmp (name, "PrimaryLocationName") == 0) {
data->Country = g_strdup (value);
} else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]