summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-14 11:47:10 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2014-02-14 11:47:10 +0100
commit01fbaec365cc58d6f3de46ce3f54f6413f3ec0f9 (patch)
tree1957bfa55e5339d29d46d5dc41993e055edf9c35
parent779eac498ae44c0e4cb581ae73edfe2d84081673 (diff)
jingle-content: reset idle ID in its callback
The callback returns FALSE so the source will be invalidated. Recent GLib now raises a critical when attempting to remove an invalid ID, making some jingle tests failing.
-rw-r--r--wocky/wocky-jingle-content.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wocky/wocky-jingle-content.c b/wocky/wocky-jingle-content.c
index 82eea32..1874fed 100644
--- a/wocky/wocky-jingle-content.c
+++ b/wocky/wocky-jingle-content.c
@@ -485,6 +485,8 @@ send_gtalk4_transport_accept (gpointer user_data)
wocky_jingle_session_send (c->session, msg);
+ priv->gtalk4_event_id = 0;
+
return FALSE;
}