From f6054722309c3702fbe40ccbf009b8f2cb37e4e2 Mon Sep 17 00:00:00 2001 From: Brendan Long Date: Wed, 30 Oct 2013 17:02:02 -0500 Subject: [PATCH] docs: gst_pad_new_from_*_template and gst_buffer_pool_new constructors return floating references https://bugzilla.gnome.org/show_bug.cgi?id=710342 --- gst/gstbufferpool.c | 2 +- gst/gstpad.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c index dff09fff97..6e25e46827 100644 --- a/gst/gstbufferpool.c +++ b/gst/gstbufferpool.c @@ -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) diff --git a/gst/gstpad.c b/gst/gstpad.c index 4b9f2a7f15..40d84606de 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -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, -- 2.34.1