[gtk+] Move GtkAccelMap autocleanup to the class header
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Move GtkAccelMap autocleanup to the class header
- Date: Tue, 10 Nov 2015 14:17:53 +0000 (UTC)
commit 62d9abeebc0916f73bbd05dcc52a60b1b11d8f8d
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Nov 10 14:12:35 2015 +0000
Move GtkAccelMap autocleanup to the class header
gtk/gtk-autocleanups.h | 1 -
gtk/gtkaccelmap.h | 3 +++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtk-autocleanups.h b/gtk/gtk-autocleanups.h
index 986695f..561485e 100644
--- a/gtk/gtk-autocleanups.h
+++ b/gtk/gtk-autocleanups.h
@@ -21,7 +21,6 @@
#ifndef __GI_SCANNER__
-G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccelMap, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccessible, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionBar, g_object_unref)
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkActionable, g_object_unref)
diff --git a/gtk/gtkaccelmap.h b/gtk/gtkaccelmap.h
index c13797a..de5d4a1 100644
--- a/gtk/gtkaccelmap.h
+++ b/gtk/gtkaccelmap.h
@@ -102,6 +102,9 @@ GType gtk_accel_map_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GtkAccelMap *gtk_accel_map_get (void);
+#ifndef __GI_SCANNER__
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkAccelMap, g_object_unref)
+#endif
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]