[tracker/external-crawler: 13/41] libtracker-miner: Fix paused check in MinerFS before notifying files



commit be5ae7c2289e50d38d9e9debcfada3b96d0353b8
Author: Martyn Russell <martyn lanedo com>
Date:   Mon May 12 17:55:08 2014 +0100

    libtracker-miner: Fix paused check in MinerFS before notifying files

 src/libtracker-miner/tracker-miner-fs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index c17c98c..a8368bc 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -3985,7 +3985,7 @@ tracker_miner_fs_manually_notify_file (TrackerMinerFS       *fs,
                return FALSE;
        }
 
-       if (!priv->external_crawler) {
+       if (!priv->is_paused) {
                g_set_error (error,
                             tracker_miner_error_quark (),
                             TRACKER_MINER_ERROR_PAUSED,


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