Mark g_key_file_get_comment() key parameter as nullable

It will return the comment above the group (or at the top of the file)
then according to the documentation.
This commit is contained in:
Sebastian Dröge 2021-02-02 10:14:57 +02:00
parent 6cca256526
commit 02fbe86e07

View File

@ -3648,7 +3648,7 @@ g_key_file_get_top_comment (GKeyFile *key_file,
* g_key_file_get_comment:
* @key_file: a #GKeyFile
* @group_name: (nullable): a group name, or %NULL
* @key: a key
* @key: (nullable): a key
* @error: return location for a #GError
*
* Retrieves a comment above @key from @group_name.