[Spice-devel] [PATCH spice-gtk v2 1/8] widget: remove superflous WIN32 check

Pavel Grunt pgrunt at redhat.com
Wed Mar 23 19:38:57 UTC 2016


Acked-by: Pavel Grunt <pgrunt at redhat.com>

On Tue, 2016-03-22 at 13:57 +0100, Marc-André Lureau wrote:
> The egl call is already inside a X11 conditional block.
> 
> Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>
> ---
>  src/spice-widget.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/src/spice-widget.c b/src/spice-widget.c
> index e329809..c8bb72c 100644
> --- a/src/spice-widget.c
> +++ b/src/spice-widget.c
> @@ -580,13 +580,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)


More information about the Spice-devel mailing list