From aed55e0808796b3eb383aa484bc36c89126c14fc Mon Sep 17 00:00:00 2001 From: Sebastian Keller Date: Mon, 20 Nov 2023 11:46:13 +0100 Subject: [PATCH] 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: --- clutter/clutter/clutter-input-only-action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter/clutter-input-only-action.c b/clutter/clutter/clutter-input-only-action.c index e722704f4..0af027ce7 100644 --- a/clutter/clutter/clutter-input-only-action.c +++ b/clutter/clutter/clutter-input-only-action.c @@ -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; }