libpurple/protocols/bonjour/parser.c

branch
release-2.2.2
changeset 20221
28e31ee832cd
parent 19859
71d37b57eff2
child 20224
d4b827c606db
--- a/libpurple/protocols/bonjour/parser.c	Fri Oct 19 18:10:30 2007 +0000
+++ b/libpurple/protocols/bonjour/parser.c	Fri Oct 19 18:14:53 2007 +0000
@@ -101,7 +101,7 @@
 		if(!xmlStrcmp(element_name, (xmlChar*) "stream")) {
 			/* Asynchronously close the conversation to prevent bonjour_parser_setup()
 			 * being called from within this context */
-			g_idle_add(_async_bonjour_jabber_stream_ended_cb, pb);
+			purple_timeout_add(0, _async_bonjour_jabber_stream_ended_cb, pb);
 		}
 		return;
 	}

mercurial