diff src/eventloop.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 084ed9f7ac19
children 98c9a35541ed
line wrap: on
line diff
--- a/src/eventloop.c	Wed Feb 18 07:22:53 2004 +0000
+++ b/src/eventloop.c	Wed Feb 18 07:43:21 2004 +0000
@@ -34,6 +34,14 @@
 	return ops->timeout_add(interval, function, data);
 }
 
+void
+gaim_timeout_remove(guint tag)
+{
+	GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops();
+
+	return ops->timeout_remove(tag);
+}
+
 guint
 gaim_input_add(int source, GaimInputCondition condition, GaimInputFunction func, gpointer user_data)
 {