window: make window_{create,set}_surface private
authorPekka Paalanen <ppaalanen@gmail.com>
Mon, 19 Nov 2012 13:32:47 +0000 (15:32 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 19 Nov 2012 20:55:12 +0000 (15:55 -0500)
I do not think these are meant to be called by the applications
directly. Applications certainly do not have to call them.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
clients/window.c
clients/window.h

index 288a526..f15e8c1 100644 (file)
@@ -889,7 +889,7 @@ window_flush(struct window *window)
                window_attach_surface(window);
 }
 
-void
+static void
 window_set_surface(struct window *window, cairo_surface_t *surface)
 {
        cairo_surface_reference(surface);
@@ -928,7 +928,7 @@ window_get_display(struct window *window)
        return window->display;
 }
 
-void
+static void
 window_create_surface(struct window *window)
 {
        cairo_surface_t *surface;
index 84846ff..b7aca84 100644 (file)
@@ -273,12 +273,6 @@ window_get_wl_shell_surface(struct window *window);
 void
 window_flush(struct window *window);
 
-void
-window_set_surface(struct window *window, cairo_surface_t *surface);
-
-void
-window_create_surface(struct window *window);
-
 enum window_buffer_type {
        WINDOW_BUFFER_TYPE_EGL_WINDOW,
        WINDOW_BUFFER_TYPE_SHM,