Remove 'user_data' arg from widget_set_handler

This commit is contained in:
Pim van Pelt
2017-12-02 13:42:32 +01:00
parent 5a283bd87f
commit 980ac4c7cf
6 changed files with 14 additions and 17 deletions

View File

@ -45,7 +45,7 @@ struct widget_list_t {
};
struct widget_t *widget_create(char *name, uint16_t x, uint16_t y, uint16_t w, uint16_t h);
void widget_set_handler(struct widget_t *w, widget_event_fn handler, void *user_data);
void widget_set_handler(struct widget_t *w, widget_event_fn handler);
void widget_delete_handler(struct widget_t *w);
void widget_set_timer(struct widget_t *w, uint32_t timer_msec);
void widget_delete_timer(struct widget_t *w);