summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.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/gtkscrollbar.h
parent3688ece655860a6a41e7579f513aa9aa771945f4 (diff)
downloadgtk+-f141da6b555dcbe6fe16bd2e4b10cf0b2f105bc8.tar.gz
gtk: Dissolve gtk-autocleanup.h
Move the autocleanup declarations into their respective headers.
Diffstat (limited to 'gtk/gtkscrollbar.h')
-rw-r--r--gtk/gtkscrollbar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkscrollbar.h b/gtk/gtkscrollbar.h
index 886cc85fe3..d4cdfbdf79 100644
--- a/gtk/gtkscrollbar.h
+++ b/gtk/gtkscrollbar.h
@@ -54,6 +54,8 @@ void gtk_scrollbar_set_adjustment (GtkScrollbar *self,
GDK_AVAILABLE_IN_ALL
GtkAdjustment *gtk_scrollbar_get_adjustment (GtkScrollbar *self);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkScrollbar, g_object_unref)
+
G_END_DECLS
#endif /* __GTK_SCROLLBAR_H__ */