[tracker/external-crawler: 40/42] libtracker-miner: FileNotifier signals ::directory-finished on wrong dir
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/external-crawler: 40/42] libtracker-miner: FileNotifier signals ::directory-finished on wrong dir
- Date: Wed, 6 Aug 2014 07:43:53 +0000 (UTC)
commit 6f868cafd288b300c482a9e4d1e553c1b6e12c5d
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]