[tracker/tracker-0.14] miners/fs: Remove unused property in Files miner
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.14] miners/fs: Remove unused property in Files miner
- Date: Thu, 5 Jul 2012 16:25:29 +0000 (UTC)
commit 1adac801dec610665afd8ada2aac284bb5072b0e
Author: Sam Thursfield <sam thursfield codethink co uk>
Date: Mon May 14 10:43:35 2012 +0900
miners/fs: Remove unused property in Files miner
quark_directory_config_root was introduced here:
daf0c383b5daf19cd4a27b5669cfd6db7f768b6f
but is no longer used anywhere.
src/miners/fs/tracker-miner-files.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-files.c b/src/miners/fs/tracker-miner-files.c
index 8e5edc8..6503bf9 100644
--- a/src/miners/fs/tracker-miner-files.c
+++ b/src/miners/fs/tracker-miner-files.c
@@ -89,7 +89,6 @@ struct TrackerMinerFilesPrivate {
GDBusConnection *connection;
GQuark quark_mount_point_uuid;
- GQuark quark_directory_config_root;
guint force_recheck_id;
@@ -283,7 +282,6 @@ tracker_miner_files_init (TrackerMinerFiles *mf)
mf);
priv->quark_mount_point_uuid = g_quark_from_static_string ("tracker-mount-point-uuid");
- priv->quark_directory_config_root = g_quark_from_static_string ("tracker-directory-config-root");
}
static void
@@ -415,9 +413,6 @@ miner_files_initable_init (GInitable *initable,
g_message (" Adding:'%s'", (gchar*) dirs->data);
file = g_file_new_for_path (dirs->data);
- g_object_set_qdata (G_OBJECT (file),
- mf->private->quark_directory_config_root,
- GINT_TO_POINTER (TRUE));
flags = TRACKER_DIRECTORY_FLAG_NONE;
@@ -473,9 +468,6 @@ miner_files_initable_init (GInitable *initable,
g_message (" Adding:'%s'", (gchar*) dirs->data);
file = g_file_new_for_path (dirs->data);
- g_object_set_qdata (G_OBJECT (file),
- mf->private->quark_directory_config_root,
- GINT_TO_POINTER (TRUE));
flags = TRACKER_DIRECTORY_FLAG_RECURSE;
@@ -1673,10 +1665,6 @@ update_directories_from_new_config (TrackerMinerFS *mf,
g_message (" Adding directory:'%s'", path);
file = g_file_new_for_path (path);
- g_object_set_qdata (G_OBJECT (file),
- priv->quark_directory_config_root,
- GINT_TO_POINTER (TRUE));
-
tracker_indexing_tree_add (indexing_tree, file, flags);
g_object_unref (file);
}
@@ -2985,9 +2973,6 @@ miner_files_add_removable_or_optical_directory (TrackerMinerFiles *mf,
mf->private->quark_mount_point_uuid,
g_strdup (uuid),
(GDestroyNotify) g_free);
- g_object_set_qdata (G_OBJECT (mount_point_file),
- mf->private->quark_directory_config_root,
- GINT_TO_POINTER (TRUE));
g_message (" Adding removable/optical: '%s'", mount_path);
tracker_indexing_tree_add (indexing_tree,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]