[gnome-control-center] common: Don't unconditionally define HAVE_WAYLAND



commit 62f07b2c6d8a28378e1f2c9f5d0c3241332ee8cf
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Jan 17 20:05:03 2018 -0200

    common: Don't unconditionally define HAVE_WAYLAND
    
    This header unconditionally defines HAVE_WAYLAND when GTK
    is built with Wayland support. This breaks the build when
    building with Wayland disabled.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785414

 panels/common/gnome-settings-bus.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/panels/common/gnome-settings-bus.h b/panels/common/gnome-settings-bus.h
index ce58f58..763a9cc 100644
--- a/panels/common/gnome-settings-bus.h
+++ b/panels/common/gnome-settings-bus.h
@@ -5,8 +5,6 @@
 
 #ifdef GDK_WINDOWING_WAYLAND
 
-#define HAVE_WAYLAND 1
-
 static inline gboolean
 gnome_settings_is_wayland (void)
 {


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