x11: fix compilation if 'libwacom=false'

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1168
This commit is contained in:
Christian Rauch 2020-03-31 21:28:44 +01:00
parent 7f488e3e1d
commit a8f6cada88

View File

@ -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