diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-03-26 17:27:23 -0400 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2012-07-20 12:19:12 +0100 |
commit | 07dca90ececeee6613a6c0057f3d1b68a6b8ea5c (patch) | |
tree | 214e58d260d3dcb60cca5463305f0c0cc3baadea /src/muc-channel.c | |
parent | 8305b566af9b3b0219a417dd9e854d32a8ec06fb (diff) | |
download | telepathy-gabble-07dca90ececeee6613a6c0057f3d1b68a6b8ea5c.tar.gz |
muc-channel: remove unused methods
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/muc-channel.c')
-rw-r--r-- | src/muc-channel.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c index cde06f671..e8075559f 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) |