diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2012-01-11 12:19:20 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2012-01-11 12:23:25 +0000 |
commit | 98c99630ad55d502cb4e75feb2272dd0d50b92e5 (patch) | |
tree | 6309814e87bcee456cccc2793d1026699601ae4e /gst/gststructure.c | |
parent | bea0ed2fc1da66f97b38397188e7ffb3a8619e61 (diff) |
gststructure: clarify _get docs about the returned reference
https://bugzilla.gnome.org/show_bug.cgi?id=667689
Diffstat (limited to 'gst/gststructure.c')
-rw-r--r-- | gst/gststructure.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/gststructure.c b/gst/gststructure.c index e37767edb..23c54b35f 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. |