From 7baabc7ed0105dbf457fffe48250919849623254 Mon Sep 17 00:00:00 2001 From: Christian Rauch Date: Tue, 31 Mar 2020 20:28:44 +0000 Subject: [PATCH] x11: fix compilation if 'libwacom=false' https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1168 (cherry picked from commit a8f6cada883eda2a34e6478a53e2fb7c392d98b7) --- src/backends/x11/meta-input-device-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/x11/meta-input-device-x11.c b/src/backends/x11/meta-input-device-x11.c index 480acd83e..2406c34d7 100644 --- a/src/backends/x11/meta-input-device-x11.c +++ b/src/backends/x11/meta-input-device-x11.c @@ -122,9 +122,9 @@ meta_input_device_x11_is_grouped (ClutterInputDevice *device, static void meta_input_device_x11_finalize (GObject *object) { -#ifdef HAVE_LIBWACOM MetaInputDeviceX11 *device_xi2 = META_INPUT_DEVICE_X11 (object); +#ifdef HAVE_LIBWACOM if (device_xi2->group_modes) g_array_unref (device_xi2->group_modes); #endif