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

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

Fixes: #1790
This commit is contained in:
Philip Withnall 2019-05-31 10:57:17 +01:00
parent 947355c101
commit 67a0d5237e

View File

@ -834,7 +834,8 @@ _g_file_info_get_attribute_value (GFileInfo *info,
* This escapes things as needed to make the string valid * This escapes things as needed to make the string valid
* utf8. * 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 wasnt set.
* When you're done with the string it must be freed with g_free(). * When you're done with the string it must be freed with g_free().
**/ **/
char * char *