[PATCH] Expose window_set_surface() in window.h

Bryce Harrington bryce at canonical.com
Fri Nov 19 12:15:15 PST 2010


gears.c uses this routine and was complaining about it being implicitly
declared.

Signed-off-by: Bryce Harrington <bryce at canonical.com>
---
 clients/window.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/clients/window.h b/clients/window.h
index 871e46b..de7ccce 100644
--- a/clients/window.h
+++ b/clients/window.h
@@ -158,6 +158,9 @@ 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 {
-- 
1.7.1



More information about the wayland-devel mailing list