[Spice-devel] [PATCH spice-gtk 1/2] spice-widget-egl: Remove double preprocessor check

Frediano Ziglio fziglio at redhat.com
Fri Jan 18 12:37:37 UTC 2019


Do not disable and enable code with same condition.

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



More information about the Spice-devel mailing list