window: make window_flush() private

Not called from any client.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
Pekka Paalanen 2012-11-19 15:32:48 +02:00 committed by Kristian Høgsberg
parent ce36f6dff4
commit a8d4c84693
2 changed files with 1 additions and 4 deletions

View File

@ -882,7 +882,7 @@ window_has_focus(struct window *window)
return window->focus_count > 0; return window->focus_count > 0;
} }
void static void
window_flush(struct window *window) window_flush(struct window *window)
{ {
if (window->cairo_surface) if (window->cairo_surface)

View File

@ -270,9 +270,6 @@ window_get_wl_surface(struct window *window);
struct wl_shell_surface * struct wl_shell_surface *
window_get_wl_shell_surface(struct window *window); window_get_wl_shell_surface(struct window *window);
void
window_flush(struct window *window);
enum window_buffer_type { enum window_buffer_type {
WINDOW_BUFFER_TYPE_EGL_WINDOW, WINDOW_BUFFER_TYPE_EGL_WINDOW,
WINDOW_BUFFER_TYPE_SHM, WINDOW_BUFFER_TYPE_SHM,