From 5dab10e441545920b6633578af7d305a6eda02fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Mon, 25 Mar 2024 10:38:18 +0100 Subject: [PATCH] mtk/rectangle: Add auto-cleanup integration Part-of: --- mtk/mtk/mtk-rectangle.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mtk/mtk/mtk-rectangle.h b/mtk/mtk/mtk-rectangle.h index 067a5a961..1cb598fce 100644 --- a/mtk/mtk/mtk-rectangle.h +++ b/mtk/mtk/mtk-rectangle.h @@ -152,3 +152,5 @@ void mtk_rectangle_scale_double (const MtkRectangle *rect, MTK_EXPORT gboolean mtk_rectangle_is_adjacent_to (const MtkRectangle *rect, const MtkRectangle *other); + +G_DEFINE_AUTOPTR_CLEANUP_FUNC (MtkRectangle, mtk_rectangle_free)