diff src/blist.c @ 8287:ef881489396e

[gaim-migrate @ 9011] Another patch from Scott Lamb to change g_source_remove calls to gaim_timeout_remove. It also implements gaim_timeout_remove. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 18 Feb 2004 07:43:21 +0000
parents f24172f53650
children 645a3d07ee45
line wrap: on
line diff
--- a/src/blist.c	Wed Feb 18 07:22:53 2004 +0000
+++ b/src/blist.c	Wed Feb 18 07:43:21 2004 +0000
@@ -296,7 +296,7 @@
 
 	if(do_something) {
 		if(buddy->timer > 0)
-			g_source_remove(buddy->timer);
+			gaim_timeout_remove(buddy->timer);
 		buddy->timer = gaim_timeout_add(10000, (GSourceFunc)presence_update_timeout_cb, buddy);
 
 		gaim_contact_compute_priority_buddy(gaim_buddy_get_contact(buddy));
@@ -1103,7 +1103,7 @@
 	g_free(hb.name);
 
 	if(buddy->timer > 0)
-		g_source_remove(buddy->timer);
+		gaim_timeout_remove(buddy->timer);
 
 	if (buddy->icon != NULL)
 		gaim_buddy_icon_unref(buddy->icon);