[tracker/writeback: 17/23] Delete existing before setting new
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/writeback: 17/23] Delete existing before setting new
- Date: Sun, 22 Nov 2009 12:40:57 +0000 (UTC)
commit b7bf5ed1d79aff6f21dc2b89f5d123f4c23c1068
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Nov 18 13:18:22 2009 +0100
Delete existing before setting new
src/tracker-writeback/tracker-writeback-xmp.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-writeback/tracker-writeback-xmp.c b/src/tracker-writeback/tracker-writeback-xmp.c
index e8f5009..0853ba3 100644
--- a/src/tracker-writeback/tracker-writeback-xmp.c
+++ b/src/tracker-writeback/tracker-writeback-xmp.c
@@ -133,6 +133,7 @@ tracker_writeback_xmp_update_file_metadata (TrackerWritebackFile *writeback_file
const GStrv row = g_ptr_array_index (values, n);
if (g_strcmp0 (row[1], TRACKER_NIE_PREFIX "title") == 0) {
+ xmp_delete_property (xmp, NS_EXIF, "Title");
xmp_set_property(xmp, NS_EXIF, "Title", row[2], 0);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]