window: remove duplicate widget_resize_handler_t
Fixes the following build failure: In file included from window.c:58:0: window.h:194:16: error: redefinition of typedef 'widget_resize_handler_t' window.h:178:16: note: previous declaration of 'widget_resize_handler_t' was here Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
0690da60d4
commit
0bd892750d
@ -191,9 +191,6 @@ typedef int (*widget_motion_handler_t)(struct widget *widget,
|
||||
typedef void (*widget_button_handler_t)(struct widget *widget,
|
||||
struct input *input, uint32_t time,
|
||||
int button, int state, void *data);
|
||||
typedef void (*widget_resize_handler_t)(struct widget *widget,
|
||||
int32_t width, int32_t height,
|
||||
void *data);
|
||||
|
||||
struct window *
|
||||
window_create(struct display *display, int32_t width, int32_t height);
|
||||
|
Loading…
Reference in New Issue
Block a user