Commit 67a0d523 authored by Philip Withnall's avatar Philip Withnall

gfileinfo: Add missing (nullable) annotation to get_attribute_as_string()

Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>

Fixes: #1790
parent 947355c1
......@@ -834,7 +834,8 @@ _g_file_info_get_attribute_value (GFileInfo *info,
* This escapes things as needed to make the string valid
* utf8.
*
* Returns: a UTF-8 string associated with the given @attribute.
* Returns: (nullable): a UTF-8 string associated with the given @attribute, or
* %NULL if the attribute wasn’t set.
* When you're done with the string it must be freed with g_free().
**/
char *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment