[PATCH weston 1/2] libweston: Move text_backend_* to weston.h
Quentin Glidic
sardemff7+wayland at sardemff7.net
Thu Aug 18 11:28:59 UTC 2016
On 18/08/2016 11:15, Quentin Glidic wrote:
> From: Quentin Glidic <sardemff7+git at sardemff7.net>
I forgot to explain it, but these are actually defined in Weston, not
libweston, so any libweston user trying to use them will fail.
> 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);
>
>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list