[tracker/wip/fts4: 18/21] libtracker-data: Fix FTS initialization



commit c8bd949aa8a59d06ba0750a216318bd6b4c284c6
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 2e29e79..36fb250 100644
--- a/src/libtracker-data/tracker-data-manager.c
+++ b/src/libtracker-data/tracker-data-manager.c
@@ -3652,8 +3652,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]