libweston: Move text_backend_* to weston.h
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
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 @@
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 4ca52f9..534c8c2 100644
--- a/libweston/compositor.h
+++ b/libweston/compositor.h
@@ -1690,14 +1690,6 @@
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);