]> Dogcows Code - chaz/openbox/blobdiff - plugins/menu/timed_menu.c
changes to the timer api, pass the timer to the callback function.
[chaz/openbox] / plugins / menu / timed_menu.c
index 3bf820a7ce6da5793e37558ffa2c44536c4f4c7d..844a56419f387f94a47b7a2a223a691268cc0d61 100644 (file)
@@ -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;
 }
 
This page took 0.020188 seconds and 4 git commands to generate.