[tracker/external-crawler: 39/45] 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: 39/45] libtracker-miner: FileNotifier signals ::directory-finished on wrong dir
- Date: Tue, 12 Aug 2014 18:56:22 +0000 (UTC)
commit 383abfdaa7775722edf3a11c2588dc38523a82b4
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]