diff libpurple/plugins/joinpart.c @ 17703:0f4a562b38d1

libpurple should not use glib eventloop stuff directly, since we have our own eventloop abstraction. This leaves just one hack in blist.c.
author Richard Laager <rlaager@wiktel.com>
date Mon, 04 Jun 2007 04:50:02 +0000
parents de2946d55a2d
children 4ca97b26a8fb
line wrap: on
line diff
--- a/libpurple/plugins/joinpart.c	Mon Jun 04 04:34:28 2007 +0000
+++ b/libpurple/plugins/joinpart.c	Mon Jun 04 04:50:02 2007 +0000
@@ -210,7 +210,7 @@
 	 * we don't have to worry one will be called after this. */
 	g_hash_table_destroy((GHashTable *)data[0]);
 
-	g_source_remove(GPOINTER_TO_UINT(data[1]));
+	purple_timeout_remove(GPOINTER_TO_UINT(data[1]));
 	g_free(data);
 
 	return TRUE;