The egl call is already inside a X11 conditional block. Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx> Acked-by: Pavel Grunt <pgrunt@xxxxxxxxxx> --- src/spice-widget.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/spice-widget.c b/src/spice-widget.c index 08040d3..2a64443 100644 --- a/src/spice-widget.c +++ b/src/spice-widget.c @@ -578,13 +578,11 @@ drawing_area_realize(GtkWidget *area, gpointer user_data) g_clear_error(&err); } -#ifndef G_OS_WIN32 if (!spice_egl_realize_display(display, gtk_widget_get_window(area), &err)) { g_critical("egl realize failed: %s", err->message); g_clear_error(&err); } #endif -#endif } static void spice_display_init(SpiceDisplay *display) -- 2.5.5 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel