[gtk+/wip/ebassi/gsk-renderer: 468/545] gsk: Fix build without Wayland



commit 5e2b10b1df629d407ae3997b77453dd550d5e81d
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]