[Spice-devel] [PATCH spice-gtk 1/2] spice-widget-egl: Remove double preprocessor check
Christophe Fergeau
cfergeau at redhat.com
Fri Jan 18 13:27:32 UTC 2019
On Fri, Jan 18, 2019 at 12:37:37PM +0000, Frediano Ziglio wrote:
> Do not disable and enable code with same condition.
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190118/b2d805c6/attachment.sig>
More information about the Spice-devel
mailing list