[gtk: 1/2] gtk: Define the GtkExpression autocleanup func




commit c9fa16fcfa59e72372b2155cc1eac310cfd13a64
Author: António Fernandes <antoniojpfernandes gmail com>
Date:   Sun Jan 2 17:49:48 2022 +0000

    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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]