telepathy-gabble: muc-channel: remove unused methods
Jonny Lamb
jonny at kemper.freedesktop.org
Tue Aug 28 06:19:32 PDT 2012
Module: telepathy-gabble
Branch: master
Commit: 07dca90ececeee6613a6c0057f3d1b68a6b8ea5c
URL: http://cgit.freedesktop.org/telepathy/telepathy-gabble/commit/?id=07dca90ececeee6613a6c0057f3d1b68a6b8ea5c
Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date: Mon Mar 26 17:27:23 2012 -0400
muc-channel: remove unused methods
Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
src/muc-channel.c | 34 ----------------------------------
src/muc-channel.h | 6 ------
2 files changed, 0 insertions(+), 40 deletions(-)
diff --git a/src/muc-channel.c b/src/muc-channel.c
index cde06f6..e807555 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -3717,40 +3717,6 @@ gabble_muc_channel_send_presence (GabbleMucChannel *self)
g_object_unref (stanza);
}
-GabbleTubesChannel *
-gabble_muc_channel_open_tube (GabbleMucChannel *gmuc,
- TpHandle initiator,
- gboolean requested)
-{
- GabbleMucChannelPrivate *priv = gmuc->priv;
-
- if (priv->tube == NULL)
- priv->tube = new_tube (gmuc, initiator, requested);
-
- if (priv->tube != NULL)
- return g_object_ref (priv->tube);
-
- return NULL;
-}
-
-void
-gabble_muc_channel_close_tube (GabbleMucChannel *gmuc)
-{
- GabbleMucChannelPrivate *priv = gmuc->priv;
-
- if (priv->tube != NULL)
- {
- TpHandle room;
- GabbleTubesChannel *tube = priv->tube;
-
- priv->tube = NULL;
- g_object_get (tube, "handle", &room, NULL);
- DEBUG ("removing MUC tubes channel with handle %d", room);
- gabble_tubes_channel_close (tube);
- g_object_unref (tube);
- }
-}
-
#ifdef ENABLE_VOIP
GabbleCallMucChannel *
gabble_muc_channel_get_call (GabbleMucChannel *gmuc)
diff --git a/src/muc-channel.h b/src/muc-channel.h
index 384dca6..601154b 100644
--- a/src/muc-channel.h
+++ b/src/muc-channel.h
@@ -94,11 +94,6 @@ void gabble_muc_channel_send_presence (GabbleMucChannel *chan);
gboolean gabble_muc_channel_send_invite (GabbleMucChannel *self,
const gchar *jid, const gchar *message, gboolean continue_, GError **error);
-GabbleTubesChannel *
-gabble_muc_channel_open_tube (GabbleMucChannel *gmuc,
- TpHandle initiator,
- gboolean requested);
-
GabbleTubeIface * gabble_muc_channel_tube_request (GabbleMucChannel *self,
gpointer request_token,
GHashTable *request_properties,
@@ -134,7 +129,6 @@ gboolean gabble_muc_channel_update_configuration_finish (
GError **error);
void gabble_muc_channel_teardown (GabbleMucChannel *gmuc);
-void gabble_muc_channel_close_tube (GabbleMucChannel *gmuc);
G_END_DECLS
More information about the telepathy-commits
mailing list