[tracker/fts4: 17/17] libtracker-data: Fix FTS initialization



commit b3932d1d85c3161968550806401bb8ad0162610b
Author: Carlos Garnacho <carlos lanedo com>
Date:   Thu Dec 15 19:18:48 2011 +0100

    libtracker-data: Fix FTS initialization
    
    Use a define that actually exists around tracker_fts_init(), which
    also checked for the inverted value.

 src/libtracker-data/tracker-data-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-manager.c b/src/libtracker-data/tracker-data-manager.c
index 26fad41..10545dc 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3663,8 +3663,8 @@ tracker_data_manager_init (TrackerDBManagerFlags   flags,
 
 	tracker_data_update_init ();
 
-#ifdef TRACKER_FTS
-	if (tracker_fts_init ()) {
+#ifdef HAVE_TRACKER_FTS
+	if (!tracker_fts_init ()) {
 		g_warning ("FTS module loading failed");
 	}
 #endif



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