summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-09-23 21:54:15 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-09-23 23:07:43 -0400
commitf141da6b555dcbe6fe16bd2e4b10cf0b2f105bc8 (patch)
tree1b315693c358dfe7b7694975e6a93f6bb8c71333 /gtk/gtknotebook.h
parent3688ece655860a6a41e7579f513aa9aa771945f4 (diff)
downloadgtk+-f141da6b555dcbe6fe16bd2e4b10cf0b2f105bc8.tar.gz
gtk: Dissolve gtk-autocleanup.h
Move the autocleanup declarations into their respective headers.
Diffstat (limited to 'gtk/gtknotebook.h')
-rw-r--r--gtk/gtknotebook.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtknotebook.h b/gtk/gtknotebook.h
index 73139d6580..437b7b9746 100644
--- a/gtk/gtknotebook.h
+++ b/gtk/gtknotebook.h
@@ -243,6 +243,8 @@ GtkWidget *gtk_notebook_page_get_child (GtkNotebookPage *page);
GDK_AVAILABLE_IN_ALL
GListModel *gtk_notebook_get_pages (GtkNotebook *notebook);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkNotebook, g_object_unref)
+
G_END_DECLS
#endif /* __GTK_NOTEBOOK_H__ */