[tracker/tracker-1.4] libtracker-control: Fix the return value



commit a3d2be8ddda89540e1afb52b33e2bd75e3cb43a3
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Oct 30 15:54:31 2015 +0100

    libtracker-control: Fix the return value
    
    As documented, tracker_miner_manager_index_file should return TRUE on
    success, not FALSE.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757366

 src/libtracker-control/tracker-miner-manager.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-control/tracker-miner-manager.c b/src/libtracker-control/tracker-miner-manager.c
index cf05bb6..d0c370b 100644
--- a/src/libtracker-control/tracker-miner-manager.c
+++ b/src/libtracker-control/tracker-miner-manager.c
@@ -1578,7 +1578,7 @@ miner_manager_index_file_sync (TrackerMinerManager *manager,
 
        g_variant_unref (v);
 
-       return FALSE;
+       return TRUE;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]