[tracker/journal] libtracker-data: Fix unsetting tracker:secondaryIndex
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/journal] libtracker-data: Fix unsetting tracker:secondaryIndex
- Date: Wed, 20 Oct 2010 14:14:09 +0000 (UTC)
commit 60c191aabbc1ded894dd85933ce31cb4e8a2fd08
Author: Philip Van Hoof <philip codeminded be>
Date: Wed Oct 20 16:13:41 2010 +0200
libtracker-data: Fix unsetting tracker:secondaryIndex
src/libtracker-data/tracker-data-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 8d3ccf2..cb92a45 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -426,7 +426,7 @@ update_property_value (const gchar *ontology_path,
}
- if (!error && needed) {
+ if (!error && needed && object) {
tracker_data_insert_statement (NULL, subject,
predicate, object,
&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]