[gnome-settings-daemon] plugins/wacom: Fix build without WAYLAND
- From: Benjamin Berg <bberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] plugins/wacom: Fix build without WAYLAND
- Date: Tue, 18 Feb 2020 16:50:40 +0000 (UTC)
commit ec6982cc8b3fccc35dbd5df3c4e22ab94709c66d
Author: Vlad Banea <vlb xiphos ca>
Date: Tue Dec 31 15:35:41 2019 -0500
plugins/wacom: Fix build without WAYLAND
plugins/wacom/gsd-wacom-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/wacom/gsd-wacom-manager.c b/plugins/wacom/gsd-wacom-manager.c
index e1c8eaa7..92fd96c3 100644
--- a/plugins/wacom/gsd-wacom-manager.c
+++ b/plugins/wacom/gsd-wacom-manager.c
@@ -190,7 +190,7 @@ gsd_wacom_manager_class_init (GsdWacomManagerClass *klass)
static gchar *
get_device_path (GdkDevice *device)
{
-#ifdef HAVE_WAYLAND
+#if HAVE_WAYLAND
if (gnome_settings_is_wayland ())
return g_strdup (gdk_wayland_device_get_node_path (device));
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]