From 7ae1efa8b314a77056fda476803810e9f403b6de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 31 May 2015 21:30:23 +0200 Subject: [PATCH] gl: Fix compiler warning gstglwindow_wayland_egl.c:246:41: error: unused variable 'surface_listener' [-Werror,-Wunused-const-variable] static const struct wl_surface_listener surface_listener = { ^ --- .../gst/gl/wayland/gstglwindow_wayland_egl.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c index a8e3422e95..3cf2ccae90 100644 --- a/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c +++ b/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c @@ -231,23 +231,6 @@ static const struct wl_shell_surface_listener shell_surface_listener = { handle_popup_done }; -static void -surface_handle_enter (void *data, struct wl_surface *wl_surface, - struct wl_output *output) -{ -} - -static void -surface_handle_leave (void *data, struct wl_surface *wl_surface, - struct wl_output *output) -{ -} - -static const struct wl_surface_listener surface_listener = { - surface_handle_enter, - surface_handle_leave -}; - static void destroy_surfaces (GstGLWindowWaylandEGL * window_egl) {