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@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel