docs: gst_pad_new_from_*_template and gst_buffer_pool_new constructors return floating references

https://bugzilla.gnome.org/show_bug.cgi?id=710342
This commit is contained in:
Brendan Long 2013-10-30 17:02:02 -05:00 committed by Sebastian Dröge
parent 7b014d67a7
commit f605472230
2 changed files with 3 additions and 3 deletions

View file

@ -207,7 +207,7 @@ gst_buffer_pool_finalize (GObject * object)
*
* Creates a new #GstBufferPool instance.
*
* Returns: (transfer full): a new #GstBufferPool instance
* Returns: (transfer floating): a new #GstBufferPool instance
*/
GstBufferPool *
gst_buffer_pool_new (void)

View file

@ -749,7 +749,7 @@ gst_pad_new (const gchar * name, GstPadDirection direction)
* will be assigned.
* This function makes a copy of the name so you can safely free the name.
*
* Returns: (transfer full): a new #GstPad, or NULL in case of an error.
* Returns: (transfer floating): a new #GstPad, or NULL in case of an error.
*/
GstPad *
gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name)
@ -770,7 +770,7 @@ gst_pad_new_from_template (GstPadTemplate * templ, const gchar * name)
* will be assigned.
* This function makes a copy of the name so you can safely free the name.
*
* Returns: (transfer full): a new #GstPad, or NULL in case of an error.
* Returns: (transfer floating): a new #GstPad, or NULL in case of an error.
*/
GstPad *
gst_pad_new_from_static_template (GstStaticPadTemplate * templ,