diff --git a/libgimp/gimpenums.c.tail b/libgimp/gimpenums.c.tail index 13b6a911c9..fd937076a9 100644 --- a/libgimp/gimpenums.c.tail +++ b/libgimp/gimpenums.c.tail @@ -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 **/ diff --git a/pdb/enumcode.pl b/pdb/enumcode.pl index c3497ad292..91c5ce29f1 100755 --- a/pdb/enumcode.pl +++ b/pdb/enumcode.pl @@ -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 **/