[PATCH weston 1/2] libweston: Move text_backend_* to weston.h

Quentin Glidic sardemff7+wayland at sardemff7.net
Thu Aug 18 09:15:44 UTC 2016


From: Quentin Glidic <sardemff7+git at sardemff7.net>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---

This patch should be in the release.

 compositor/weston.h    | 8 ++++++++
 libweston/compositor.h | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/compositor/weston.h b/compositor/weston.h
index bff5cc1..bb04002 100644
--- a/compositor/weston.h
+++ b/compositor/weston.h
@@ -66,6 +66,14 @@ wet_load_module(const char *name, const char *entrypoint);
 int
 wet_load_xwayland(struct weston_compositor *comp);
 
+struct text_backend;
+
+struct text_backend *
+text_backend_init(struct weston_compositor *ec);
+
+void
+text_backend_destroy(struct text_backend *text_backend);
+
 #ifdef  __cplusplus
 }
 #endif
diff --git a/libweston/compositor.h b/libweston/compositor.h
index 301bdca..586937d 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -1704,14 +1704,6 @@ weston_recorder_stop(struct weston_recorder *recorder);
 struct clipboard *
 clipboard_create(struct weston_seat *seat);
 
-struct text_backend;
-
-struct text_backend *
-text_backend_init(struct weston_compositor *ec);
-
-void
-text_backend_destroy(struct text_backend *text_backend);
-
 struct weston_view_animation;
 typedef	void (*weston_view_animation_done_func_t)(struct weston_view_animation *animation, void *data);
 
-- 
2.9.2



More information about the wayland-devel mailing list