[tracker/no-mtime-checks-on-start: 5/11] tracker-miner-fs: Apply mtime-checking config to application mining
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/no-mtime-checks-on-start: 5/11] tracker-miner-fs: Apply mtime-checking config to application mining
- Date: Thu, 3 Feb 2011 14:18:29 +0000 (UTC)
commit 895e3da9be4826cd1353dc1bc01b73d180ca3cd7
Author: Martyn Russell <martyn lanedo com>
Date: Wed Feb 2 14:48:13 2011 +0000
tracker-miner-fs: Apply mtime-checking config to application mining
src/miners/fs/tracker-main.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/miners/fs/tracker-main.c b/src/miners/fs/tracker-main.c
index d5bbecd..2f7cd3f 100644
--- a/src/miners/fs/tracker-main.c
+++ b/src/miners/fs/tracker-main.c
@@ -649,12 +649,10 @@ main (gint argc, gchar *argv[])
error ? error->message : "unknown error");
g_object_unref (config);
tracker_log_shutdown ();
-
return EXIT_FAILURE;
}
tracker_miner_fs_set_initial_crawling (TRACKER_MINER_FS (miner_files), do_crawling);
tracker_miner_fs_set_mtime_checking (TRACKER_MINER_FS (miner_files), do_mtime_checking);
-
g_signal_connect (miner_files, "finished",
G_CALLBACK (miner_finished_cb),
NULL);
@@ -665,7 +663,6 @@ main (gint argc, gchar *argv[])
g_object_unref (miner_files);
g_object_unref (config);
tracker_log_shutdown ();
-
return EXIT_FAILURE;
}
@@ -678,9 +675,10 @@ main (gint argc, gchar *argv[])
g_object_unref (miner_files);
g_object_unref (config);
tracker_log_shutdown ();
-
return EXIT_FAILURE;
}
+ tracker_miner_fs_set_initial_crawling (TRACKER_MINER_FS (miner_applications), do_crawling);
+ tracker_miner_fs_set_mtime_checking (TRACKER_MINER_FS (miner_applications), do_mtime_checking);
g_signal_connect (miner_applications, "finished",
G_CALLBACK (miner_finished_cb),
NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]