[tracker] libtracker-miner: Make sure we ignore directories with black listed content



commit c9096fd8774f3025d7adad3f97a2fafbfa0bbebb
Author: Martyn Russell <martyn lanedo com>
Date:   Mon Aug 25 12:42:45 2014 +0100

    libtracker-miner: Make sure we ignore directories with black listed content
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735317

 src/libtracker-miner/tracker-crawler.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-crawler.c b/src/libtracker-miner/tracker-crawler.c
index f74c848..149dbc8 100644
--- a/src/libtracker-miner/tracker-crawler.c
+++ b/src/libtracker-miner/tracker-crawler.c
@@ -797,8 +797,8 @@ enumerate_next_cb (GObject      *object,
 
        /* If cancelled, process what we have so far only... */
        if (cancelled) {
-               data_provider_data_process (dpd);
                data_provider_data_add (dpd);
+               data_provider_data_process (dpd);
 
                process_func_start (dpd->crawler);
                data_provider_data_free (dpd);
@@ -834,8 +834,8 @@ enumerate_next_cb (GObject      *object,
                } else {
                        /* condition c) */
                        /* Done enumerating, start processing what we got ... */
-                       data_provider_data_process (dpd);
                        data_provider_data_add (dpd);
+                       data_provider_data_process (dpd);
                }
 
                process_func_start (dpd->crawler);


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