[tracker/domain-specific-indexes] squash fix
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/domain-specific-indexes] squash fix
- Date: Thu, 1 Jul 2010 14:12:45 +0000 (UTC)
commit 73dbeab695a1eefadaacc590e4bce5d1efc3334f
Author: Philip Van Hoof <philip codeminded be>
Date: Thu Jul 1 16:11:08 2010 +0200
squash fix
src/libtracker-data/tracker-data-update.c | 3 +++
src/libtracker-data/tracker-property.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index 6df955c..6fa50e4 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1462,6 +1462,7 @@ cache_set_metadata_decomposed (TrackerProperty *property,
domain_index_classes = tracker_property_get_domain_indexes (property);
if (resource_in_domain_index (domain_index_classes)) {
+ domain_index_classes = tracker_property_get_domain_indexes (property);
while (*domain_index_classes) {
GValue gvalue_copy = { 0 };
@@ -1535,6 +1536,7 @@ delete_metadata_decomposed (TrackerProperty *property,
domain_index_classes = tracker_property_get_domain_indexes (property);
if (resource_in_domain_index (domain_index_classes)) {
+ domain_index_classes = tracker_property_get_domain_indexes (property);
while (*domain_index_classes) {
GValue gvalue_copy = { 0 };
@@ -1666,6 +1668,7 @@ cache_delete_resource_type (TrackerClass *class,
domain_index_classes = tracker_property_get_domain_indexes (prop);
if (resource_in_domain_index (domain_index_classes)) {
+ domain_index_classes = tracker_property_get_domain_indexes (prop);
while (*domain_index_classes) {
GValue gvalue_copy = { 0 };
diff --git a/src/libtracker-data/tracker-property.c b/src/libtracker-data/tracker-property.c
index 95be01a..cd7a579 100644
--- a/src/libtracker-data/tracker-property.c
+++ b/src/libtracker-data/tracker-property.c
@@ -568,7 +568,7 @@ tracker_property_add_domain_index (TrackerProperty *property,
TrackerPropertyPrivate *priv;
g_return_if_fail (TRACKER_IS_PROPERTY (property));
- g_return_if_fail (TRACKER_IS_PROPERTY (value));
+ g_return_if_fail (TRACKER_IS_CLASS (value));
priv = GET_PRIV (property);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]