[tracker] Fix compilation error in case of --disable-tracker-fts



commit c7f57552c6d06f5821f8bd13e6b1d44dd4cfffb4
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 3057bcb..694cf67 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -2983,7 +2983,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]