mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -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