comparison 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
comparison
equal deleted inserted replaced
17700:9187a19d72a7 17703:0f4a562b38d1
208 /* Destroy the hash table. The core plugin code will 208 /* Destroy the hash table. The core plugin code will
209 * disconnect the signals, and since Purple is single-threaded, 209 * disconnect the signals, and since Purple is single-threaded,
210 * we don't have to worry one will be called after this. */ 210 * we don't have to worry one will be called after this. */
211 g_hash_table_destroy((GHashTable *)data[0]); 211 g_hash_table_destroy((GHashTable *)data[0]);
212 212
213 g_source_remove(GPOINTER_TO_UINT(data[1])); 213 purple_timeout_remove(GPOINTER_TO_UINT(data[1]));
214 g_free(data); 214 g_free(data);
215 215
216 return TRUE; 216 return TRUE;
217 } 217 }
218 218