mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
x11: fix compilation if 'libwacom=false'
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1168
(cherry picked from commit a8f6cada88
)
This commit is contained in:
parent
b0709504ea
commit
7baabc7ed0
@ -122,9 +122,9 @@ meta_input_device_x11_is_grouped (ClutterInputDevice *device,
|
|||||||
static void
|
static void
|
||||||
meta_input_device_x11_finalize (GObject *object)
|
meta_input_device_x11_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBWACOM
|
|
||||||
MetaInputDeviceX11 *device_xi2 = META_INPUT_DEVICE_X11 (object);
|
MetaInputDeviceX11 *device_xi2 = META_INPUT_DEVICE_X11 (object);
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBWACOM
|
||||||
if (device_xi2->group_modes)
|
if (device_xi2->group_modes)
|
||||||
g_array_unref (device_xi2->group_modes);
|
g_array_unref (device_xi2->group_modes);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user