[tracker/libtracker-miner] TrackerMinerFS: Remove unused vars.



commit d3b1f00f252ec337263c09f357b0e14c0d9e1f46
Author: Carlos Garnacho <carlos lanedo com>
Date:   Wed Aug 26 18:13:52 2009 +0200

    TrackerMinerFS: Remove unused vars.

 src/libtracker-miner/tracker-miner-fs.c |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 21c2936..48b42b5 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -44,8 +44,6 @@ struct TrackerMinerFSPrivate {
 	TrackerCrawler *crawler;
 
 	/* File queues for indexer */
-	guint		item_queues_handler_id;
-
 	GQueue         *items_created;
 	GQueue         *items_updated;
 	GQueue         *items_deleted;
@@ -56,12 +54,10 @@ struct TrackerMinerFSPrivate {
 	GList          *directories;
 	DirectoryData  *current_directory;
 
-	GList          *devices;
-	GList          *current_device;
-
 	GTimer	       *timer;
 
 	guint           crawl_directories_id;
+	guint		item_queues_handler_id;
 
 	/* Status */
 	guint           been_started : 1;
@@ -309,13 +305,6 @@ fs_finalize (GObject *object)
 	g_queue_foreach (priv->items_created, (GFunc) g_object_unref, NULL);
 	g_queue_free (priv->items_created);
 
-#ifdef HAVE_HAL
-	if (priv->devices) {
-		g_list_foreach (priv->devices, (GFunc) g_free, NULL);
-		g_list_free (priv->devices);
-	}
-#endif /* HAVE_HAL */
-
 	G_OBJECT_CLASS (tracker_miner_fs_parent_class)->finalize (object);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]