summaryrefslogtreecommitdiff
authorWim Taymans <wim.taymans@collabora.co.uk>2009-08-31 18:38:07 (GMT)
committer Wim Taymans <wim@metal.(none)>2009-08-31 18:38:07 (GMT)
commitf90a9a809220cb5c1702532fc62d2eb65650cee5 (patch) (side-by-side diff)
treeee215da06cd27de04094f8522f6f57408e27fc8f
parent5dc534c642f845fa1ec52d4718276e6dc20a037d (diff)
downloadgstreamer-f90a9a809220cb5c1702532fc62d2eb65650cee5.zip
gstreamer-f90a9a809220cb5c1702532fc62d2eb65650cee5.tar.gz
iterator: fix docs for _new_single().
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--gst/gstiterator.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/gstiterator.c b/gst/gstiterator.c
index bbef185..bdf5d5e 100644
--- a/gst/gstiterator.c
+++ b/gst/gstiterator.c
@@ -698,7 +698,7 @@ gst_single_object_iterator_free (GstSingleObjectIterator * it)
}
/**
- * gst_iterator_new:
+ * gst_iterator_new_single:
* @type: #GType of the passed object
* @object: object that this iterator should return
* @copy: Function that returns a copy of @object or increases its refcount
@@ -709,8 +709,9 @@ gst_single_object_iterator_free (GstSingleObjectIterator * it)
* a single object has the be considered. This happens often
* for the #GstPadIterIntLinkFunction.
*
- * Since: 0.10.25
+ * Returns: the new #GstIterator for @object.
*
+ * Since: 0.10.25
*/
GstIterator *
gst_iterator_new_single (GType type, gpointer object, GstCopyFunction copy,