[tracker/tracker-1.2] Fix compilation error in case of --disable-tracker-fts
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.2] Fix compilation error in case of --disable-tracker-fts
- Date: Wed, 10 Dec 2014 11:28:46 +0000 (UTC)
commit 0bca8cddb55b0f1421b8641900a0da9e8643a030
Author: Philip Van Hoof <philip codeminded be>
Date: Sun Nov 30 22:33:47 2014 +0100
Fix compilation error in case of --disable-tracker-fts
src/libtracker-data/tracker-data-update.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index ac5309d..5d5336c 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2996,7 +2996,7 @@ tracker_data_update_statement_with_uri (const gchar *graph,
old_values = get_old_property_values (property, &new_error);
domain_unchecked = FALSE;
if (!new_error) {
- if (old_values->n_values > 0) {
+ if (old_values->len > 0) {
/* evel knievel cast */
old_object_id = (gint) g_value_get_int64
(g_value_array_get_nth (old_values, 0));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]