libgimp, pdb: Fix enums_get_type_names annotations

Annotate the array length
This commit is contained in:
Niels De Graef 2023-05-22 01:19:17 +02:00
parent bbad91d85d
commit dd3fd682f6
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ gimp_enums_init (void)
* This function gives access to the list of enums registered by libgimp.
* The returned array is static and must not be modified.
*
* Returns: (transfer none): an array with type names
* Returns: (array length=n_type_names) (transfer none): an array with type names
*
* Since: 2.2
**/

View File

@ -241,7 +241,7 @@ gimp_enums_init (void)
* This function gives access to the list of enums registered by libgimp.
* The returned array is static and must not be modified.
*
* Returns: (transfer none): an array with type names
* Returns: (array length=n_type_names) (transfer none): an array with type names
*
* Since: 2.2
**/