[Spice-devel] [PATCH spice-gtk 1/2] spice-widget-egl: Remove double preprocessor check
Marc-André Lureau
marcandre.lureau at gmail.com
Fri Jan 18 12:46:48 UTC 2019
On Fri, Jan 18, 2019 at 4:37 PM Frediano Ziglio <fziglio at redhat.com> wrote:
>
> Do not disable and enable code with same condition.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
ack
> ---
> src/spice-widget-egl.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
> index 011d8c76..5ad84bfc 100644
> --- a/src/spice-widget-egl.c
> +++ b/src/spice-widget-egl.c
> @@ -307,8 +307,6 @@ gl_make_current(SpiceDisplay *display, GError **err)
> return FALSE;
> }
> }
> -#endif
> -#ifdef GDK_WINDOWING_X11
> else
> #endif
> {
> --
> 2.20.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
--
Marc-André Lureau
More information about the Spice-devel
mailing list