From e87b4dca71a1191ade85373ebfd4cf8ed458c5f6 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 3 Sep 2024 16:50:10 +0100 Subject: [PATCH] gsk: Add autoptr cleanup function for GskStroke It appeared to be missing, while other GSK types already have cleanup functions defined. Signed-off-by: Philip Withnall --- gsk/gskstroke.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gsk/gskstroke.h b/gsk/gskstroke.h index cf8b82a1ac..83f98251e8 100644 --- a/gsk/gskstroke.h +++ b/gsk/gskstroke.h @@ -83,5 +83,6 @@ GDK_AVAILABLE_IN_4_14 void gsk_stroke_to_cairo (const GskStroke *self, cairo_t *cr); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GskStroke, gsk_stroke_free) G_END_DECLS