Mercurial > pidgin.yaz
diff src/eventloop.h @ 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.h Wed Feb 18 07:22:53 2004 +0000 +++ b/src/eventloop.h Wed Feb 18 07:43:21 2004 +0000 @@ -54,6 +54,12 @@ guint (*timeout_add)(guint interval, GSourceFunc function, gpointer data); /** + * Removes a callback timer. + * @see gaim_timeout_remove, g_source_remove + */ + guint (*timeout_remove)(guint handle); + + /** * Adds an input handler. * @see gaim_input_add, g_io_add_watch_full */ @@ -83,6 +89,13 @@ guint gaim_timeout_add(guint interval, GSourceFunc function, gpointer data); /** + * Removes a timeout handler. + * + * @param handle The handle, as returned by gaim_timeout_add. + */ +void gaim_timeout_remove(guint handle); + +/** * Adds an input handler. * * @param fd The input file descriptor.