[tracker/libtracker-miner] Don't stop the timer when printing stats, not need
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-miner] Don't stop the timer when printing stats, not need
- Date: Tue, 25 Aug 2009 18:15:51 +0000 (UTC)
commit b1354af03cc9dff4cd0bd2163bfbc5fc822b81cf
Author: Martyn Russell <martyn lanedo com>
Date: Tue Aug 25 19:13:57 2009 +0100
Don't stop the timer when printing stats, not need
src/libtracker-miner/tracker-miner-fs.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index c7774a1..f5fb811 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1121,7 +1121,6 @@ print_stats (TrackerMinerFS *fs)
*/
if (!fs->private->shown_totals) {
fs->private->shown_totals = TRUE;
- g_timer_stop (fs->private->timer);
g_message ("--------------------------------------------------");
g_message ("Total directories : %d (%d ignored)",
@@ -1194,8 +1193,10 @@ process_directories_start (TrackerMinerFS *fs)
fs->private->total_directories_ignored = 0;
fs->private->total_files_found = 0;
fs->private->total_files_ignored = 0;
+
fs->private->directories_found = 0;
fs->private->directories_ignored = 0;
+
fs->private->files_found = 0;
fs->private->files_ignored = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]