[tracker/libtracker-miner] The directories are already added in TrackerMinerFiles constructor.



commit 38b485841493bec5ecc1544476f2ed135e7f0050
Author: Carlos Garnacho <carlos lanedo com>
Date:   Tue Aug 25 18:01:43 2009 +0200

    The directories are already added in TrackerMinerFiles constructor.

 src/tracker-miner-fs/tracker-miner-main.c |   20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/tracker-miner-fs/tracker-miner-main.c b/src/tracker-miner-fs/tracker-miner-main.c
index 015418b..9037bc1 100644
--- a/src/tracker-miner-fs/tracker-miner-main.c
+++ b/src/tracker-miner-fs/tracker-miner-main.c
@@ -347,26 +347,6 @@ main (gint argc, gchar *argv[])
         miner_files = tracker_miner_files_new (config);
         miners = g_slist_append (miners, miner_files);
 
-        /* FIXME: Add from config */
-	tracker_miner_process_add_directory (TRACKER_MINER_PROCESS (miner_files), 
-					     g_get_user_special_dir (G_USER_DIRECTORY_PICTURES),
-					     TRUE);
-	tracker_miner_process_add_directory (TRACKER_MINER_PROCESS (miner_files), 
-					     g_get_user_special_dir (G_USER_DIRECTORY_MUSIC),
-					     TRUE);
-	tracker_miner_process_add_directory (TRACKER_MINER_PROCESS (miner_files), 
-					     g_get_user_special_dir (G_USER_DIRECTORY_VIDEOS),
-					     TRUE);
-	tracker_miner_process_add_directory (TRACKER_MINER_PROCESS (miner_files), 
-					     g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD),
-					     TRUE);
-	tracker_miner_process_add_directory (TRACKER_MINER_PROCESS (miner_files), 
-					     g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS),
-					     TRUE);
-	tracker_miner_process_add_directory (TRACKER_MINER_PROCESS (miner_files), 
-					     g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP),
-					     TRUE);
-
 	g_signal_connect (miner_files, "finished",
 			  G_CALLBACK (miner_finished_cb),
 			  NULL);



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