diff src/protocols/icq/gaim_icq.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 7a8aa87164ae
line wrap: on
line diff
--- a/src/protocols/icq/gaim_icq.c	Wed Feb 18 07:22:53 2004 +0000
+++ b/src/protocols/icq/gaim_icq.c	Wed Feb 18 07:43:21 2004 +0000
@@ -148,7 +148,7 @@
 	if (interval > 0 && ack_timer == 0)
 		ack_timer = gaim_timeout_add(interval * 1000, icq_set_timeout_cb, NULL);
 	else if (ack_timer > 0) {
-		g_source_remove(ack_timer);
+		gaim_timeout_remove(ack_timer);
 		ack_timer = 0;
 	}
 }