im.pidgin.pidgin: 9235f843c3fc8f51715018c58ceb47071bc89cf6

evands at pidgin.im evands at pidgin.im
Fri Dec 28 01:00:43 EST 2007


-----------------------------------------------------------------
Revision: 9235f843c3fc8f51715018c58ceb47071bc89cf6
Ancestor: 730a87e3d1af8bd6f530bf14dfc227c1dea1fd6c
Author: evands at pidgin.im
Date: 2007-12-28T05:54:50
Branch: im.pidgin.pidgin

Modified files:
        libpurple/protocols/jabber/jabber.c

ChangeLog: 

purple_timeout_remove(), not g_source_remove(), must be used to remove a timeout added by purple_timeout_add(). The latter works when the glib run loop is being used but not when any other eventloop implementation is in use.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	2330bff326c57b0af35a8e92d91ad78287655cec
+++ libpurple/protocols/jabber/jabber.c	9aa29fcda99363d5a029fdad7eb706f58ce724c4
@@ -390,7 +390,7 @@ static void jabber_pong_cb(JabberStream 
 
 static void jabber_pong_cb(JabberStream *js, xmlnode *packet, gpointer timeout) 
 {
-	g_source_remove(GPOINTER_TO_INT(timeout));
+	purple_timeout_remove(GPOINTER_TO_INT(timeout));
 }
 
 static gboolean jabber_pong_timeout(PurpleConnection *gc)


More information about the Commits mailing list