From 01aed1c665adc7a8a0320d7cc2e40690860da7fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 11 Apr 2011 16:59:05 -0400 Subject: [PATCH] Remove double definition of window_get_wl_surface() --- clients/window.c | 6 ------ clients/window.h | 3 --- 2 files changed, 9 deletions(-) diff --git a/clients/window.c b/clients/window.c index cbe1454..417268d 100644 --- a/clients/window.c +++ b/clients/window.c @@ -752,12 +752,6 @@ window_set_surface(struct window *window, cairo_surface_t *surface) window->cairo_surface = surface; } -struct wl_surface * -window_get_wl_surface(struct window *window) -{ - return window->surface; -} - static void window_resize_cairo_window_surface(struct window *window) { diff --git a/clients/window.h b/clients/window.h index 0e1ebd4..bf1516a 100644 --- a/clients/window.h +++ b/clients/window.h @@ -187,9 +187,6 @@ window_set_surface(struct window *window, cairo_surface_t *surface); void window_create_surface(struct window *window); -struct wl_surface * -window_get_wl_surface(struct window *window); - enum window_buffer_type { WINDOW_BUFFER_TYPE_EGL_WINDOW, WINDOW_BUFFER_TYPE_EGL_IMAGE, -- 2.7.4