[Telepathy-commits] [telepathy-gabble/master] remove olpc_views from GabbleConnection

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Thu Oct 9 06:28:56 PDT 2008


---
 src/conn-olpc.c  |    8 --------
 src/connection.h |    1 -
 2 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/conn-olpc.c b/src/conn-olpc.c
index bd99d34..8b6144f 100644
--- a/src/conn-olpc.c
+++ b/src/conn-olpc.c
@@ -3701,13 +3701,6 @@ conn_olpc_activity_properties_init (GabbleConnection *conn)
   conn->olpc_invited_activities = g_hash_table_new_full (g_direct_hash,
       g_direct_equal, NULL, (GDestroyNotify) tp_handle_set_destroy);
 
-  /* Active views
-   *
-   * view id guint => GabbleOlpcView
-   */
-  conn->olpc_views = g_hash_table_new_full (g_direct_hash, g_direct_equal,
-      NULL, (GDestroyNotify) g_object_unref);
-
   /* Current activity
    *
    * contact TpHandle => reffed GabbleOlpcActivity
@@ -3757,7 +3750,6 @@ conn_olpc_activity_properties_dispose (GabbleConnection *self)
       (GHFunc) unref_activities_in_each_set, self);
   g_hash_table_destroy (self->olpc_invited_activities);
 
-  g_hash_table_destroy (self->olpc_views);
   g_hash_table_destroy (self->olpc_activities_info);
 }
 
diff --git a/src/connection.h b/src/connection.h
index ec09078..1503bf5 100644
--- a/src/connection.h
+++ b/src/connection.h
@@ -141,7 +141,6 @@ struct _GabbleConnection {
     GHashTable *olpc_activities_info;
     GHashTable *olpc_pep_activities;
     GHashTable *olpc_invited_activities;
-    GHashTable *olpc_views;
     GHashTable *olpc_current_act;
 
     /* OLPC services */
-- 
1.5.6.5




More information about the Telepathy-commits mailing list