summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2012-01-12 14:52:09 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-01-16 21:02:43 -0500
commit0bd892750d3b743a54a0645d1fde5280cbf5d12d (patch)
tree034132d9806ed0acd5ecaf89b39e9e4479366773
parent0690da60d483bd74b9ae22258cc760be29333c5f (diff)
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>
-rw-r--r--clients/window.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/clients/window.h b/clients/window.h
index e9d717b..4ff2fc8 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -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);