gstreamer: gststructure: clarify _get docs about the returned reference

Vincent Penquerc'h vincent at kemper.freedesktop.org
Wed Jan 11 04:55:04 PST 2012


Module: gstreamer
Branch: master
Commit: 98c99630ad55d502cb4e75feb2272dd0d50b92e5
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=98c99630ad55d502cb4e75feb2272dd0d50b92e5

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Wed Jan 11 12:19:20 2012 +0000

gststructure: clarify _get docs about the returned reference

https://bugzilla.gnome.org/show_bug.cgi?id=667689

---

 gst/gststructure.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gst/gststructure.c b/gst/gststructure.c
index e37767e..23c54b3 100644
--- a/gst/gststructure.c
+++ b/gst/gststructure.c
@@ -2839,9 +2839,9 @@ wrong_type:
  * (as a GType), pointer(s) to a variable(s) to hold the return value(s).
  * The last variable argument should be NULL.
  *
- * For refcounted (mini)objects you will acquire your own reference which
+ * For refcounted (mini)objects you will receive a new reference which
  * you must release with a suitable _unref() when no longer needed. For
- * strings and boxed types you will acquire a copy which you will need to
+ * strings and boxed types you will receive a copy which you will need to
  * release with either g_free() or the suitable function for the boxed type.
  *
  * Returns: FALSE if there was a problem reading any of the fields (e.g.
@@ -2884,9 +2884,9 @@ gst_structure_get (const GstStructure * structure, const char *first_fieldname,
  * more efficient since it saves the string-to-quark lookup in the global
  * quark hashtable.
  *
- * For refcounted (mini)objects you will acquire your own reference which
+ * For refcounted (mini)objects you will receive a new reference which
  * you must release with a suitable _unref() when no longer needed. For
- * strings and boxed types you will acquire a copy which you will need to
+ * strings and boxed types you will receive a copy which you will need to
  * release with either g_free() or the suitable function for the boxed type.
  *
  * Returns: FALSE if there was a problem reading any of the fields (e.g.



More information about the gstreamer-commits mailing list