summaryrefslogtreecommitdiff
path: root/gst-libs/gst/insertbin/gstinsertbin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/insertbin/gstinsertbin.h')
-rw-r--r--gst-libs/gst/insertbin/gstinsertbin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst-libs/gst/insertbin/gstinsertbin.h b/gst-libs/gst/insertbin/gstinsertbin.h
index 051a17a19..58326f4b2 100644
--- a/gst-libs/gst/insertbin/gstinsertbin.h
+++ b/gst-libs/gst/insertbin/gstinsertbin.h
@@ -102,5 +102,9 @@ void gst_insert_bin_remove (GstInsertBin * self, GstElement * element,
GstInsertBinCallback callback, gpointer user_data);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstInsertBin, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_INSERT_BIN_H__ */