Mercurial > pidgin
diff src/gtkeventloop.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 | 9949b752d1ab |
line wrap: on
line diff
--- a/src/gtkeventloop.c Wed Feb 18 07:22:53 2004 +0000 +++ b/src/gtkeventloop.c Wed Feb 18 07:43:21 2004 +0000 @@ -92,19 +92,12 @@ return closure->result; } -static void gaim_gtk_input_remove(guint tag) -{ - /* gaim_debug(GAIM_DEBUG_MISC, "proxy", - "CLOSURE: removing input watcher %d\n", tag); */ - if (tag > 0) - g_source_remove(tag); -} - static GaimEventLoopUiOps eventloop_ops = { g_timeout_add, + g_source_remove, gaim_gtk_input_add, - gaim_gtk_input_remove + g_source_remove }; GaimEventLoopUiOps *