summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Banea <vlb@xiphos.ca>2019-12-31 15:35:41 -0500
committerBenjamin Berg <bberg@redhat.com>2020-02-18 17:50:10 +0100
commitec6982cc8b3fccc35dbd5df3c4e22ab94709c66d (patch)
treecfb22bed72bf8e53e1441958c865c7e62bcb811b
parenteb8fd251ed0aecdd72364eb570a64d7c1f407b21 (diff)
downloadgnome-settings-daemon-ec6982cc8b3fccc35dbd5df3c4e22ab94709c66d.tar.gz
plugins/wacom: Fix build without WAYLAND
-rw-r--r--plugins/wacom/gsd-wacom-manager.c2
1 files changed, 1 insertions, 1 deletions
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