[gnome-builder/wip/gtk4-port: 205/736] libide/gui: add cleanup attribute




commit f5d0ee6f991c783c429eb3c59fca0abc119cd538
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 30 02:09:22 2022 -0700

    libide/gui: add cleanup attribute

 src/libide/gui/ide-panel-position.h | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libide/gui/ide-panel-position.h b/src/libide/gui/ide-panel-position.h
index b60181cf0..ab521617e 100644
--- a/src/libide/gui/ide-panel-position.h
+++ b/src/libide/gui/ide-panel-position.h
@@ -61,4 +61,6 @@ IDE_AVAILABLE_IN_ALL
 void              ide_panel_position_set_depth  (IdePanelPosition  *self,
                                                  guint              depth);
 
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (IdePanelPosition, ide_panel_position_free)
+
 G_END_DECLS


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