gfileinfo: Fix annotation for g_file_info_set_attribute_stringv

Annotate `attr_value` parameter of `g_file_info_set_attribute_stringv`
as zero-terminated array, since it isn't currently recognized as such.
This commit is contained in:
Tomasz Miąsko 2019-01-17 00:00:00 +00:00
parent c9f883b221
commit 6994be01f4

View File

@ -1180,7 +1180,8 @@ _g_file_info_set_attribute_stringv_by_id (GFileInfo *info,
* g_file_info_set_attribute_stringv:
* @info: a #GFileInfo.
* @attribute: a file attribute key
* @attr_value: (array) (element-type utf8): a %NULL terminated array of UTF-8 strings.
* @attr_value: (array zero-terminated=1) (element-type utf8): a %NULL
* terminated array of UTF-8 strings.
*
* Sets the @attribute to contain the given @attr_value,
* if possible.