[Telepathy-commits] [telepathy-salut/master] Removed unused hash table.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:10 PST 2008


20080721231329-8ed0e-0cf986f070be768c3b72a0d47a4ac51915755316.gz
---
 src/salut-file-channel.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/src/salut-file-channel.c b/src/salut-file-channel.c
index 1735cef..8461c14 100644
--- a/src/salut-file-channel.c
+++ b/src/salut-file-channel.c
@@ -114,8 +114,6 @@ struct _SalutFileChannelPrivate {
   GibberXmppConnection *xmpp_connection;
   GibberFileTransfer *ft;
   gchar *local_unix_path;
-  /* hash table used to convert from string id to numerical id */
-  GHashTable *name_to_id;
 
   /* properties */
   SalutFileTransferDirection direction;
@@ -348,11 +346,6 @@ salut_file_channel_constructor (GType type, guint n_props,
 
   tp_handle_ref (contact_repo, self->priv->handle);
 
-  /* Initialize the hash table used to convert from the id name
-   * to the numerical id. */
-  self->priv->name_to_id = g_hash_table_new_full (g_str_hash, g_str_equal,
-      NULL, NULL);
-
   /* Connect to the bus */
   bus = tp_get_bus ();
   dbus_g_connection_register_g_object (bus, self->priv->object_path, obj);
@@ -641,8 +634,6 @@ salut_file_channel_dispose (GObject *object)
 
   tp_handle_unref (handle_repo, self->priv->handle);
 
-  g_hash_table_unref (self->priv->name_to_id);
-
   salut_file_channel_do_close (self);
 
   if (self->priv->contact)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list