mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-08 17:50:10 +00:00
stack: Add automatic cleanup for GtkStackPage
Useful when iterating over the pages via g_list_model_get_item ().
This commit is contained in:
parent
c6967234de
commit
da954d20f9
@ -179,6 +179,7 @@ GDK_AVAILABLE_IN_ALL
|
||||
GtkSelectionModel * gtk_stack_get_pages (GtkStack *stack);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStack, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackPage, g_object_unref)
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user