From 79e189dbac9ec5ae5baed26515ee60b8dce9a079 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 9 Aug 2003 04:56:12 +0000 Subject: changes to the timer api, pass the timer to the callback function. add a desktop-switch popup with the desktop's name --- plugins/menu/timed_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/menu') diff --git a/plugins/menu/timed_menu.c b/plugins/menu/timed_menu.c index 3bf820a7..844a5641 100644 --- a/plugins/menu/timed_menu.c +++ b/plugins/menu/timed_menu.c @@ -124,7 +124,7 @@ void timed_menu_read_pipe(int fd, void *d) } } -void timed_menu_timeout_handler(void *d) +void timed_menu_timeout_handler(ObTimer *t, void *d) { ObMenu *data = d; if (!data->shown && TIMED_MENU_DATA(data)->fd == -1) { @@ -231,7 +231,7 @@ void *plugin_create(PluginMenuCreateData *data) m->plugin_data = (void *)d; - timed_menu_timeout_handler(m); + timed_menu_timeout_handler(NULL, m); return (void *)m; } -- cgit v1.2.3