1
0
mirror of https://github.com/brl/mutter.git synced 2025-01-12 04:34:40 +00:00
mutter/clutter
Jonas Dreßler 7871ab5437 clutter/timeline: Don't manually set frame clock in set_actor()
In clutter_timeline_set_actor() we currently always unset the
priv->frame_clock pointer of the old actor when a new actor gets set.
The priv->frame_clock pointer takes a reference on the ClutterFrameClock
though, so we leak ClutterFrameClocks here.

To fix it, simply rely on update_frame_clock(), which will call
set_frame_clock_internal() unconditionally to update the
priv->frame_clock pointer for us.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1632>
2021-01-11 09:42:10 +00:00
..
clutter clutter/timeline: Don't manually set frame clock in set_actor() 2021-01-11 09:42:10 +00:00
.gitignore
meson.build clutter: Include semi private cogl API 2020-07-02 19:36:50 +02:00