From 9722e896446ed052623d795d8511140fbca7f023 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Wed, 4 Jul 2018 14:00:35 -0400 Subject: [PATCH] structure: Update doc error in ARRAY/LIST helpers --- gst/gststructure.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/gst/gststructure.c b/gst/gststructure.c index 5f7aad2..734b2d2 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -3038,13 +3038,13 @@ _gst_structure_get_any_list (GstStructure * structure, GType type, * @array: (out): a pointer to a #GValueArray * * This is useful in language bindings where unknown #GValue types are not - * supported. This function will convert the %GST_TYPE_ARRAY and - * %GST_TYPE_LIST into a newly allocated #GValueArray and return it through - * @array. Be aware that this is slower then getting the #GValue directly. + * supported. This function will convert the %GST_TYPE_ARRAY into a newly + * allocated #GValueArray and return it through @array. Be aware that this is + * slower then getting the #GValue directly. * * Returns: %TRUE if the value could be set correctly. If there was no field - * with @fieldname or the existing field did not contain an int, this function - * returns %FALSE. + * with @fieldname or the existing field did not contain a %GST_TYPE_ARRAY, + * this function returns %FALSE. */ gboolean gst_structure_get_array (GstStructure * structure, const gchar * fieldname, @@ -3061,13 +3061,13 @@ gst_structure_get_array (GstStructure * structure, const gchar * fieldname, * @array: (out): a pointer to a #GValueArray * * This is useful in language bindings where unknown #GValue types are not - * supported. This function will convert the %GST_TYPE_ARRAY and - * %GST_TYPE_LIST into a newly allocated GValueArray and return it through - * @array. Be aware that this is slower then getting the #GValue directly. + * supported. This function will convert the %GST_TYPE_LIST into a newly + * allocated GValueArray and return it through @array. Be aware that this is + * slower then getting the #GValue directly. * * Returns: %TRUE if the value could be set correctly. If there was no field - * with @fieldname or the existing field did not contain an int, this function - * returns %FALSE. + * with @fieldname or the existing field did not contain a %GST_TYPE_LIST, this + * function returns %FALSE. * * Since 1.12 */ @@ -3133,9 +3133,9 @@ gst_structure_set_array (GstStructure * structure, const gchar * fieldname, * @array: a pointer to a #GValueArray * * This is useful in language bindings where unknown GValue types are not - * supported. This function will convert a @array to %GST_TYPE_ARRAY and set + * supported. This function will convert a @array to %GST_TYPE_LIST and set * the field specified by @fieldname. Be aware that this is slower then using - * %GST_TYPE_ARRAY in a #GValue directly. + * %GST_TYPE_LIST in a #GValue directly. * * Since 1.12 */ -- 2.7.4