From 75186fb40a9bd89d02121f11b73e06c2a5757c0a Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 4 Mar 2024 17:47:54 +1000 Subject: [PATCH] backends/native: Change a C cast into a GObject type cast Part-of: --- src/backends/native/meta-seat-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c index 8bb9bd05e..eb7b30872 100644 --- a/src/backends/native/meta-seat-impl.c +++ b/src/backends/native/meta-seat-impl.c @@ -789,7 +789,7 @@ meta_seat_impl_notify_button_in_impl (MetaSeatImpl *seat_impl, uint32_t button, uint32_t state) { - MetaInputDeviceNative *device_native = (MetaInputDeviceNative *) input_device; + MetaInputDeviceNative *device_native = META_INPUT_DEVICE_NATIVE (input_device); ClutterEvent *event = NULL; ClutterModifierType modifiers; int button_nr;