From: Kristian Høgsberg Date: Mon, 11 Apr 2011 20:59:05 +0000 (-0400) Subject: Remove double definition of window_get_wl_surface() X-Git-Tag: 0.85.0~553 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01aed1c665adc7a8a0320d7cc2e40690860da7fe;p=profile%2Fivi%2Fweston.git Remove double definition of window_get_wl_surface() --- 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,