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



commit 177dafd9c6521db1b3229aa369e14250c5b89a0e
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]