[tracker/miner-fs-refactor: 70/120] 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/120] libtracker-miner: Remove indexing tree signal handlers in TrackerMinerFS
- Date: Mon, 28 Nov 2011 13:34:11 +0000 (UTC)
commit 15473ca81669d6022a3541568308fe3ea04a00e2
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 f819993..39a1e6c 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -624,31 +624,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;
@@ -684,12 +659,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]