summaryrefslogtreecommitdiff
path: root/gtk/gtkbin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkbin.h')
-rw-r--r--gtk/gtkbin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkbin.h b/gtk/gtkbin.h
index bca7885c5b..63221402fd 100644
--- a/gtk/gtkbin.h
+++ b/gtk/gtkbin.h
@@ -32,7 +32,6 @@
#include <gtk/gtkcontainer.h>
-
G_BEGIN_DECLS
#define GTK_TYPE_BIN (gtk_bin_get_type ())
@@ -82,6 +81,10 @@ GtkWidget *gtk_bin_get_child (GtkBin *bin);
void _gtk_bin_set_child (GtkBin *bin,
GtkWidget *widget);
+#ifndef __GI_SCANNER__
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GtkBin, g_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GTK_BIN_H__ */