<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 11, 2014 at 10:08 AM, Boyan Ding <span dir="ltr"><<a href="mailto:stu_dby@126.com" target="_blank">stu_dby@126.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Unused since commit 1e65840b6103197a684a551925a58fb1ae6c40e3<br>
<br>
Signed-off-by: Boyan Ding <<a href="mailto:stu_dby@126.com">stu_dby@126.com</a>><br>
---<br>
clients/simple-egl.c | 6 ------<br>
1 file changed, 6 deletions(-)<br>
<br>
diff --git a/clients/simple-egl.c b/clients/simple-egl.c<br>
index 2097b4c..f23fb8c 100644<br>
--- a/clients/simple-egl.c<br>
+++ b/clients/simple-egl.c<br>
@@ -367,8 +367,6 @@ destroy_surface(struct window *window)<br>
wl_callback_destroy(window->callback);<br>
}<br>
<br>
-static const struct wl_callback_listener frame_listener;<br>
-<br>
static void<br>
redraw(void *data, struct wl_callback *callback, uint32_t time)<br>
{<br>
@@ -469,10 +467,6 @@ redraw(void *data, struct wl_callback *callback, uint32_t time)<br>
window->frames++;<br>
}<br>
<br>
-static const struct wl_callback_listener frame_listener = {<br>
- redraw<br>
-};<br>
-<br>
static void<br>
pointer_handle_enter(void *data, struct wl_pointer *pointer,<br>
uint32_t serial, struct wl_surface *surface,<br></blockquote><div><br></div><div>This is indeed unused and may be confusing for beginners.<br></div><div>Looks good to me. :)<br><br></div><div>Reviewed-by: Nils Chr. Brause <<a href="mailto:nilschrbrause@gmail.com">nilschrbrause@gmail.com</a>><br>
<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888">--<br>
2.0.2<br>
<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br></div></div>