docs: Fix annotations for optional arguments

The length parameter in g_hash_table_get_keys_as_arrays() is optional and
this should be reflected in the gtk-doc annotations.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-06-11 15:19:17 +02:00
parent de74a70b7e
commit 708100c0a2

View File

@ -2191,7 +2191,7 @@ g_hash_table_get_keys (GHashTable *hash_table)
/**
* g_hash_table_get_keys_as_array:
* @hash_table: a #GHashTable
* @length: (out): the length of the returned array
* @length: (out) (optional): the length of the returned array
*
* Retrieves every key inside @hash_table, as an array.
*