changeset 20830:3e4c4a33ea35

Use purple_timeout_add(0... instead of g_idle_add() to avoid depending on the glib main loop.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 08 Oct 2007 14:26:41 +0000
parents 3d0e4616eb39
children 09b06f6769ee
files libpurple/protocols/bonjour/parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/parser.c	Mon Oct 08 14:25:54 2007 +0000
+++ b/libpurple/protocols/bonjour/parser.c	Mon Oct 08 14:26:41 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;
 	}