[tracker/miner-fs-refactor: 70/110] libtracker-miner: Remove indexing tree signal handlers in TrackerMinerFS
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-fs-refactor: 70/110] libtracker-miner: Remove indexing tree signal handlers in TrackerMinerFS
- Date: Wed, 16 Nov 2011 14:43:00 +0000 (UTC)
commit 7a8f2dc3a7c3a494f997f46791b609107cabffed
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Oct 4 11:35:11 2011 +0200
libtracker-miner: Remove indexing tree signal handlers in TrackerMinerFS
tracker_miner_fs_directory_add*() is meant to use TrackerIndexingTree
underneath, so don't do it the other way around too.
src/libtracker-miner/tracker-miner-fs.c | 31 -------------------------------
1 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index c847e85..6055c92 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -621,31 +621,6 @@ tracker_miner_fs_class_init (TrackerMinerFSClass *klass)
}
static void
-indexing_tree_directory_added_cb (TrackerIndexingTree *tree,
- GFile *directory,
- gpointer user_data)
-{
- TrackerMinerFS *fs = user_data;
- TrackerDirectoryFlags dir_flags;
- gboolean recurse;
-
- tracker_indexing_tree_get_root (tree, directory, &dir_flags);
- recurse = (dir_flags & TRACKER_DIRECTORY_FLAG_RECURSE) != 0;
-
- tracker_miner_fs_directory_add (fs, directory, recurse);
-}
-
-static void
-indexing_tree_directory_removed_cb (TrackerIndexingTree *tree,
- GFile *directory,
- gpointer user_data)
-{
- TrackerMinerFS *fs = user_data;
-
- tracker_miner_fs_directory_remove (fs, directory);
-}
-
-static void
tracker_miner_fs_init (TrackerMinerFS *object)
{
TrackerMinerFSPrivate *priv;
@@ -676,12 +651,6 @@ tracker_miner_fs_init (TrackerMinerFS *object)
/* Create the indexing tree */
priv->indexing_tree = tracker_indexing_tree_new ();
- g_signal_connect (priv->indexing_tree, "directory-added",
- G_CALLBACK (indexing_tree_directory_added_cb),
- object);
- g_signal_connect (priv->indexing_tree, "directory-removed",
- G_CALLBACK (indexing_tree_directory_removed_cb),
- object);
/* Create the file notifier */
priv->file_notifier = tracker_file_notifier_new (priv->indexing_tree);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]