clutter/pick-stack: Add autoptr support

It'll allow us use g_autoptr (ClutterPickStack) when removing the pick stack
cache, making the code a bit more modern.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1520>
This commit is contained in:
Georges Basile Stavracas Neto 2020-10-22 19:34:26 -03:00 committed by Marge Bot
parent 1a1f1eccba
commit 3073aee7c8

View File

@ -61,6 +61,8 @@ clutter_pick_stack_search_actor (ClutterPickStack *pick_stack,
const graphene_point3d_t *point,
const graphene_ray_t *ray);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ClutterPickStack, clutter_pick_stack_unref)
G_END_DECLS
#endif /* CLUTTER_PICK_STACK_PRIVATE_H */