[tracker/dbus-fd-experiment] Remove useless field "clients" from TrackerSteroidsPrivate



commit 4f648f61e65501e06eae83b6620db1971c4bbfb2
Author: Adrien Bustany <abustany gnome org>
Date:   Mon Jun 14 10:32:43 2010 -0400

    Remove useless field "clients" from TrackerSteroidsPrivate

 src/tracker-store/tracker-steroids.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/src/tracker-store/tracker-steroids.c b/src/tracker-store/tracker-steroids.c
index 3e4f72b..e8ad419 100644
--- a/src/tracker-store/tracker-steroids.c
+++ b/src/tracker-store/tracker-steroids.c
@@ -45,7 +45,6 @@ G_DEFINE_TYPE (TrackerSteroids, tracker_steroids, G_TYPE_OBJECT)
 #define TRACKER_STEROIDS_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), TRACKER_TYPE_STEROIDS, TrackerSteroidsPrivate))
 
 typedef struct {
-	GHashTable *clients;
 } TrackerSteroidsPrivate;
 
 typedef struct {
@@ -77,9 +76,6 @@ tracker_steroids_class_init (TrackerSteroidsClass *klass)
 static void
 tracker_steroids_init (TrackerSteroids *object)
 {
-	TrackerSteroidsPrivate *priv = TRACKER_STEROIDS_GET_PRIVATE (object);
-
-	priv->clients = g_hash_table_new (g_direct_hash, g_direct_equal);
 }
 
 TrackerSteroids*
@@ -575,7 +571,4 @@ tracker_steroids_connection_filter (DBusConnection *connection,
 static void
 tracker_steroids_finalize (GObject *object)
 {
-	TrackerSteroidsPrivate *priv = TRACKER_STEROIDS_GET_PRIVATE (object);
-
-	g_hash_table_unref (priv->clients);
 }



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