summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoyan Ding <stu_dby@126.com>2014-08-11 16:08:33 +0800
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-08-15 15:52:08 +0300
commit45ee1f9ef7fab76c3287ab6f6a695357107b5f87 (patch)
treeb4473fd60e7f7f37a70f1ee8ea8d2fe6c9fe0cd8
parent0695908a9f8e5ff2f380005d1dacbfacebaa06dd (diff)
downloadweston-45ee1f9ef7fab76c3287ab6f6a695357107b5f87.tar.gz
simple-egl: Clean up unused frame_listener
Unused since commit 1e65840b6103197a684a551925a58fb1ae6c40e3 Signed-off-by: Boyan Ding <stu_dby@126.com> Reviewed-by: Nils Chr. Brause <nilschrbrause@gmail.com>
-rw-r--r--clients/simple-egl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index 2097b4ca..f23fb8c5 100644
--- a/clients/simple-egl.c
+++ b/clients/simple-egl.c
@@ -367,8 +367,6 @@ destroy_surface(struct window *window)
wl_callback_destroy(window->callback);
}
-static const struct wl_callback_listener frame_listener;
-
static void
redraw(void *data, struct wl_callback *callback, uint32_t time)
{
@@ -469,10 +467,6 @@ redraw(void *data, struct wl_callback *callback, uint32_t time)
window->frames++;
}
-static const struct wl_callback_listener frame_listener = {
- redraw
-};
-
static void
pointer_handle_enter(void *data, struct wl_pointer *pointer,
uint32_t serial, struct wl_surface *surface,