[tracker/external-crawler: 40/41] libtracker-miner: FileNotifier signals ::directory-finished on wrong dir



commit 49ce33214795fb0af02fb4450ba0767fc776b006
Author: Martyn Russell <martyn lanedo com>
Date:   Fri Jul 4 17:08:13 2014 +0100

    libtracker-miner: FileNotifier signals ::directory-finished on wrong dir
    
    It should be the "root" GFile, not the one we just finished notifying on. This
    is to be consistent with the ::directory-started signal.

 src/libtracker-miner/tracker-file-notifier.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-notifier.c b/src/libtracker-miner/tracker-file-notifier.c
index 8263d63..156374b 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -601,7 +601,7 @@ finish_current_directory (TrackerFileNotifier *notifier)
                 * root, jump to the next one.
                 */
                g_signal_emit (notifier, signals[DIRECTORY_FINISHED], 0,
-                              directory,
+                              priv->current_index_root->root,
                               priv->current_index_root->directories_found,
                               priv->current_index_root->directories_ignored,
                               priv->current_index_root->files_found,


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