summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2011-04-11 16:59:05 -0400
committerKristian Høgsberg <krh@bitplanet.net>2011-04-11 16:59:05 -0400
commit01aed1c665adc7a8a0320d7cc2e40690860da7fe (patch)
treecc5908094c7d5d8b88a8d7485950f2a70a202967
parentc32c81b650ceee1a4148deb848cfbb6959f9f9a7 (diff)
Remove double definition of window_get_wl_surface()
-rw-r--r--clients/window.c6
-rw-r--r--clients/window.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/clients/window.c b/clients/window.c
index cbe14549..417268d4 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 0e1ebd49..bf1516ac 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,