[telepathy-gabble/master] Fix identation and remove superfluous code
Sjoerd Simons
sjoerd.simons at collabora.co.uk
Wed Dec 23 07:24:41 PST 2009
---
src/media-factory.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/media-factory.c b/src/media-factory.c
index 94f74c7..50418c2 100644
--- a/src/media-factory.c
+++ b/src/media-factory.c
@@ -413,15 +413,12 @@ gabble_media_factory_close_all (GabbleMediaFactory *fac)
/* Close will cause the channel to be removed from the list indirectly..*/
while (priv->media_channels != NULL)
gabble_media_channel_close (
- GABBLE_MEDIA_CHANNEL (priv->media_channels->data));
+ GABBLE_MEDIA_CHANNEL (priv->media_channels->data));
/* Close will cause the channel to be removed from the list indirectly..*/
while (priv->call_channels != NULL)
gabble_call_channel_close (
- GABBLE_CALL_CHANNEL (priv->call_channels->data));
-
- g_list_free (priv->call_channels);
- priv->call_channels = NULL;
+ GABBLE_CALL_CHANNEL (priv->call_channels->data));
if (priv->status_changed_id != 0)
{
--
1.5.6.5
More information about the telepathy-commits
mailing list