clutter/input-only-action: Don't override finalize with dispose

This was resulting in the GObject never being properly finalized,
leading to a leak.

Fixes: e917b7de4 ("clutter/stage: Add input-only grabs")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3411>
This commit is contained in:
Sebastian Keller 2023-11-20 11:46:13 +01:00
parent 8d3696f39a
commit aed55e0808

View File

@ -69,7 +69,7 @@ clutter_input_only_action_class_init (ClutterInputOnlyActionClass *klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass);
ClutterActionClass *action_class = CLUTTER_ACTION_CLASS (klass);
object_class->finalize = clutter_input_only_action_dispose;
object_class->dispose = clutter_input_only_action_dispose;
action_class->handle_event = clutter_input_only_action_handle_event;
}