Remove double definition of window_get_wl_surface()

dev
Kristian Høgsberg 14 years ago
parent c32c81b650
commit 01aed1c665
  1. 6
      clients/window.c
  2. 3
      clients/window.h

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

@ -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,

Loading…
Cancel
Save