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 = {
                                        ^
This commit is contained in:
Sebastian Dröge 2015-05-31 21:30:23 +02:00 committed by Tim-Philipp Müller
parent fea0b65eb5
commit 7ae1efa8b3

View file

@ -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)
{