[gtk+/wip/ebassi/gsk-renderer: 54/58] gsk: Fix build without Wayland



commit 554e30c96eb99e508730c977c73785f33b5109c0
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Jul 25 17:36:33 2016 +0100

    gsk: Fix build without Wayland

 gsk/gskrenderer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c
index f9a9fed..8a9068f 100644
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -1069,8 +1069,8 @@ gsk_renderer_get_for_display (GdkDisplay *display)
 #ifdef GDK_WINDOWING_WAYLAND
   if (GDK_IS_WAYLAND_DISPLAY (display))
     renderer_type = GSK_TYPE_GL_RENDERER;
-#endif
   else
+#endif
     return NULL;
 
   GSK_NOTE (RENDERER, g_print ("Creating renderer of type '%s' for display '%s'\n",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]