[Telepathy-commits] [telepathy-sofiasip/master] Kill the auth hash table that went unused long ago
Mikhail Zabaluev
mikhail.zabaluev at nokia.com
Fri Oct 17 10:16:06 PDT 2008
---
src/sip-connection-private.h | 2 --
src/sip-connection.c | 7 -------
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/src/sip-connection-private.h b/src/sip-connection-private.h
index 74f4487..6c6b028 100644
--- a/src/sip-connection-private.h
+++ b/src/sip-connection-private.h
@@ -39,8 +39,6 @@ struct _TpsipConnectionPrivate
gchar *registrar_realm;
- GHashTable *auth_table;
-
/* channels */
TpChannelFactoryIface *text_factory;
TpChannelFactoryIface *media_factory;
diff --git a/src/sip-connection.c b/src/sip-connection.c
index 28e3bc7..d709f53 100644
--- a/src/sip-connection.c
+++ b/src/sip-connection.c
@@ -196,10 +196,6 @@ tpsip_connection_init (TpsipConnection *self)
TpsipConnectionPrivate *priv = TPSIP_CONNECTION_GET_PRIVATE (self);
priv->sofia_home = su_home_new(sizeof (su_home_t));
- priv->auth_table = g_hash_table_new_full (g_direct_hash,
- g_direct_equal,
- NULL /* (GDestroyNotify) nua_handle_unref */,
- g_free);
tp_contacts_mixin_init ((GObject *) self,
G_STRUCT_OFFSET (TpsipConnection, contacts));
@@ -1005,9 +1001,6 @@ tpsip_connection_dispose (GObject *object)
priv->media_factory = NULL;
priv->text_factory = NULL;
- /* may theoretically involve NUA handle unrefs */
- g_hash_table_destroy (priv->auth_table);
-
/* the base class is responsible for unreffing the self handle when we
* disconnect */
g_assert (base->status == TP_CONNECTION_STATUS_DISCONNECTED
--
1.5.6.5
More information about the Telepathy-commits
mailing list