From c9fa16fcfa59e72372b2155cc1eac310cfd13a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= Date: Sun, 2 Jan 2022 17:49:48 +0000 Subject: [PATCH] gtk: Define the GtkExpression autocleanup func --- gtk/gtkexpression.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkexpression.h b/gtk/gtkexpression.h index 4cea8fb57a..91a9b88396 100644 --- a/gtk/gtkexpression.h +++ b/gtk/gtkexpression.h @@ -50,6 +50,7 @@ GDK_AVAILABLE_IN_ALL GtkExpression * gtk_expression_ref (GtkExpression *self); GDK_AVAILABLE_IN_ALL void gtk_expression_unref (GtkExpression *self); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkExpression, gtk_expression_unref) GDK_AVAILABLE_IN_ALL GType gtk_expression_get_value_type (GtkExpression *self);