]> arthur.barton.de Git - netatalk.git/commitdiff
Reenable tracker-miner interaction
authorRalph Boehme <sloowfranklin@gmail.com>
Tue, 5 Mar 2013 11:26:18 +0000 (12:26 +0100)
committerRalph Boehme <sloowfranklin@gmail.com>
Tue, 5 Mar 2013 11:26:18 +0000 (12:26 +0100)
etc/spotlight/slmod_sparql.c

index 9edad460b6135089843e8b8707f79b943e0a3cfa..fd0f984560e7c95403b33001d7b820aeaea4a374 100644 (file)
@@ -73,13 +73,7 @@ static int sl_mod_init(void *p)
 
     become_root();
     connection = tracker_sparql_connection_get(NULL, &error);
-#if 0 
-    /*
-     * Disabled for now, hangs in tracker_miner_manager_new_full() since adding
-     * the dbus afpstats stuff.
-     */
     manager = tracker_miner_manager_new_full(FALSE, &error);
-#endif
     unbecome_root();
 
     if (!connection) {
@@ -89,13 +83,11 @@ static int sl_mod_init(void *p)
         EC_FAIL;
     }
 
-#if 0
     if (!manager) {
         LOG(log_error, logtype_sl, "Couldn't connect to Tracker miner");
         g_clear_error(&error);
         EC_FAIL;
     }
-#endif
 
 EC_CLEANUP:
     EC_EXIT;
@@ -334,7 +326,6 @@ EC_CLEANUP:
 
 static int sl_mod_index_file(const void *p)
 {
-    return 0;
 #ifdef HAVE_TRACKER_MINER
     EC_INIT;
     const char *f = p;