mtk/rectangle: Add auto-cleanup integration
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3703>
This commit is contained in:
parent
3091449298
commit
5dab10e441
1 changed files with 2 additions and 0 deletions
|
@ -152,3 +152,5 @@ void mtk_rectangle_scale_double (const MtkRectangle *rect,
|
||||||
MTK_EXPORT
|
MTK_EXPORT
|
||||||
gboolean mtk_rectangle_is_adjacent_to (const MtkRectangle *rect,
|
gboolean mtk_rectangle_is_adjacent_to (const MtkRectangle *rect,
|
||||||
const MtkRectangle *other);
|
const MtkRectangle *other);
|
||||||
|
|
||||||
|
G_DEFINE_AUTOPTR_CLEANUP_FUNC (MtkRectangle, mtk_rectangle_free)
|
||||||
|
|
Loading…
Reference in a new issue