[tracker/external-crawler: 22/31] libtracker-miner: MinerFS _force_mtime_checking() didn't have mtime check flag
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/external-crawler: 22/31] libtracker-miner: MinerFS _force_mtime_checking() didn't have mtime check flag
- Date: Thu, 19 Jun 2014 14:10:17 +0000 (UTC)
commit 5ad9b4acb9fc9514552bc88e03ff8e3d92be7533
Author: Martyn Russell <martyn lanedo com>
Date: Mon May 19 16:53:57 2014 +0100
libtracker-miner: MinerFS _force_mtime_checking() didn't have mtime check flag
src/libtracker-miner/tracker-miner-fs.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 0d1709b..4b54a5d 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3849,13 +3849,11 @@ tracker_miner_fs_force_mtime_checking (TrackerMinerFS *fs,
g_return_if_fail (TRACKER_IS_MINER_FS (fs));
g_return_if_fail (G_IS_FILE (directory));
- if (fs->priv->enumerator) {
- /* Essentially, this is a not doing anything special */
- flags = TRACKER_DIRECTORY_FLAG_RECURSE;
- } else {
- flags = TRACKER_DIRECTORY_FLAG_RECURSE |
- TRACKER_DIRECTORY_FLAG_CHECK_MTIME |
- TRACKER_DIRECTORY_FLAG_MONITOR;
+ flags = TRACKER_DIRECTORY_FLAG_RECURSE |
+ TRACKER_DIRECTORY_FLAG_CHECK_MTIME;
+
+ if (!fs->priv->enumerator) {
+ flags |= TRACKER_DIRECTORY_FLAG_MONITOR;
}
tracker_indexing_tree_add (fs->priv->indexing_tree,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]