[Spice-devel] [PATCH spice-gtk] widget-egl: Define label only if can be used
Marc-André Lureau
mlureau at redhat.com
Fri Apr 1 16:49:23 UTC 2016
ack
----- Original Message -----
> The label can be used only with GDK_WINDOWING_WAYLAND
>
> Silence -Wunused-label
> ---
> src/spice-widget-egl.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
> index 51bb5c5..c54d9f6 100644
> --- a/src/spice-widget-egl.c
> +++ b/src/spice-widget-egl.c
> @@ -266,7 +266,10 @@ gboolean spice_egl_init(SpiceDisplay *display, GError
> **err)
> eglMakeCurrent(d->egl.display, EGL_NO_SURFACE, EGL_NO_SURFACE,
> d->egl.ctx);
>
> +#ifdef GDK_WINDOWING_WAYLAND
> end:
> +#endif
> +
> if (!spice_egl_init_shaders(display, err))
> return FALSE;
>
> --
> 2.8.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list