--- 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; }