[Telepathy-commits] [telepathy-salut/master] Remove salut_im_manager_get_channel_for_handle, which was unused
Will Thompson
will.thompson at collabora.co.uk
Thu Oct 23 07:30:35 PDT 2008
---
src/salut-im-manager.c | 16 ----------------
src/salut-im-manager.h | 4 ----
2 files changed, 0 insertions(+), 20 deletions(-)
diff --git a/src/salut-im-manager.c b/src/salut-im-manager.c
index a35233a..ab25dea 100644
--- a/src/salut-im-manager.c
+++ b/src/salut-im-manager.c
@@ -423,19 +423,3 @@ salut_im_manager_new (SalutConnection *connection,
return ret;
}
-
-SalutImChannel *
-salut_im_manager_get_channel_for_handle (SalutImManager *mgr,
- TpHandle handle)
-{
- SalutImManagerPrivate *priv = SALUT_IM_MANAGER_GET_PRIVATE (mgr);
- SalutImChannel *chan;
- chan = g_hash_table_lookup (priv->channels, GUINT_TO_POINTER (handle));
- if (chan == NULL)
- chan = salut_im_manager_new_channel (mgr, handle);
-
- if (chan != NULL)
- g_object_ref (chan);
-
- return chan;
-}
diff --git a/src/salut-im-manager.h b/src/salut-im-manager.h
index ac22f36..21fb92f 100644
--- a/src/salut-im-manager.h
+++ b/src/salut-im-manager.h
@@ -63,8 +63,4 @@ salut_im_manager_new (SalutConnection *connection,
SalutContactManager *contact_manager,
SalutXmppConnectionManager *connection_manager);
-SalutImChannel *
-salut_im_manager_get_channel_for_handle (SalutImManager *mgr,
- TpHandle handle);
-
#endif /* #ifndef __SALUT_IM_MANAGER_H__*/
--
1.5.6.5
More information about the Telepathy-commits
mailing list