[PATCH weston 2/5] window: make window_flush() private
Pekka Paalanen
ppaalanen at gmail.com
Mon Nov 19 05:32:48 PST 2012
Not called from any client.
Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---
clients/window.c | 2 +-
clients/window.h | 3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/clients/window.c b/clients/window.c
index f15e8c1..d82640a 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -882,7 +882,7 @@ window_has_focus(struct window *window)
return window->focus_count > 0;
}
-void
+static void
window_flush(struct window *window)
{
if (window->cairo_surface)
diff --git a/clients/window.h b/clients/window.h
index b7aca84..25122d0 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -270,9 +270,6 @@ window_get_wl_surface(struct window *window);
struct wl_shell_surface *
window_get_wl_shell_surface(struct window *window);
-void
-window_flush(struct window *window);
-
enum window_buffer_type {
WINDOW_BUFFER_TYPE_EGL_WINDOW,
WINDOW_BUFFER_TYPE_SHM,
--
1.7.8.6
More information about the wayland-devel
mailing list