diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-09-23 21:54:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-09-23 23:07:43 -0400 |
commit | f141da6b555dcbe6fe16bd2e4b10cf0b2f105bc8 (patch) | |
tree | 1b315693c358dfe7b7694975e6a93f6bb8c71333 /gtk/gtkstackswitcher.h | |
parent | 3688ece655860a6a41e7579f513aa9aa771945f4 (diff) | |
download | gtk+-f141da6b555dcbe6fe16bd2e4b10cf0b2f105bc8.tar.gz |
gtk: Dissolve gtk-autocleanup.h
Move the autocleanup declarations into their
respective headers.
Diffstat (limited to 'gtk/gtkstackswitcher.h')
-rw-r--r-- | gtk/gtkstackswitcher.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkstackswitcher.h b/gtk/gtkstackswitcher.h index bb8e5277d8..5c22dfcca0 100644 --- a/gtk/gtkstackswitcher.h +++ b/gtk/gtkstackswitcher.h @@ -45,6 +45,8 @@ void gtk_stack_switcher_set_stack (GtkStackSwitcher *switcher, GDK_AVAILABLE_IN_ALL GtkStack * gtk_stack_switcher_get_stack (GtkStackSwitcher *switcher); +G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkStackSwitcher, g_object_unref) + G_END_DECLS #endif /* __GTK_STACK_SWITCHER_H__ */ |