Move GtkAboutDialog autocleanup to the class header

This commit is contained in:
Emmanuele Bassi 2015-11-10 14:08:07 +00:00
parent 90c15c294e
commit 56ab3bdf3c
2 changed files with 4 additions and 1 deletions

View File

@ -21,7 +21,6 @@
#ifndef __GI_SCANNER__
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAboutDialog, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccelLabel, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccelMap, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccessible, g_object_unref)

View File

@ -204,6 +204,10 @@ void gtk_about_dialog_add_credit_section (GtkAboutDialog
const gchar *section_name,
const gchar **people);
#ifndef __GI_SCANNER__
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAboutDialog, g_object_unref)
#endif
G_END_DECLS
#endif /* __GTK_ABOUT_DIALOG_H__ */