[Telepathy-commits] [telepathy-gabble/master] GabbleMediaChannel: fix regression in RequestStreams: return the streams, not an empty list
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Mar 11 03:04:35 PDT 2009
---
src/media-channel.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/media-channel.c b/src/media-channel.c
index c24ba24..2efa706 100644
--- a/src/media-channel.c
+++ b/src/media-channel.c
@@ -1386,7 +1386,10 @@ pending_stream_request_maybe_satisfy (PendingStreamRequest *p,
GabbleJingleContent *content,
GabbleMediaStream *stream)
{
- g_hash_table_remove (p->contents, content);
+ if (g_hash_table_remove (p->contents, content))
+ {
+ g_ptr_array_add (p->streams, stream);
+ }
if (g_hash_table_size (p->contents) == 0 && p->context != NULL)
{
--
1.5.6.5
More information about the telepathy-commits
mailing list