[gnome-control-center] common: Don't unconditionally define HAVE_WAYLAND
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] common: Don't unconditionally define HAVE_WAYLAND
- Date: Wed, 17 Jan 2018 23:23:15 +0000 (UTC)
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]