comparison 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
comparison
equal deleted inserted replaced
8286:89d9d004e3f3 8287:ef881489396e
32 GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops(); 32 GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops();
33 33
34 return ops->timeout_add(interval, function, data); 34 return ops->timeout_add(interval, function, data);
35 } 35 }
36 36
37 void
38 gaim_timeout_remove(guint tag)
39 {
40 GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops();
41
42 return ops->timeout_remove(tag);
43 }
44
37 guint 45 guint
38 gaim_input_add(int source, GaimInputCondition condition, GaimInputFunction func, gpointer user_data) 46 gaim_input_add(int source, GaimInputCondition condition, GaimInputFunction func, gpointer user_data)
39 { 47 {
40 GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops(); 48 GaimEventLoopUiOps *ops = gaim_eventloop_get_ui_ops();
41 49