mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
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:
parent
8d3696f39a
commit
aed55e0808
@ -69,7 +69,7 @@ clutter_input_only_action_class_init (ClutterInputOnlyActionClass *klass)
|
|||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
ClutterActionClass *action_class = CLUTTER_ACTION_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;
|
action_class->handle_event = clutter_input_only_action_handle_event;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user