gir: More missing annotations

Especially need to watch out with forgetting `(array)` and `(out)`
annotations, as they can really give a different API in certain (if not
most) bindings.
This commit is contained in:
Niels De Graef 2020-05-08 16:57:45 +02:00
parent f23ada8c77
commit 57d3837e40
7 changed files with 29 additions and 10 deletions

View file

@ -87,7 +87,7 @@ gimp_drawable_get_by_id (gint32 drawable_id)
* Retrieves thumbnail data for the drawable identified by @drawable.
* The thumbnail will be not larger than the requested size.
*
* Returns: (transfer full) (nullable): thumbnail data or %NULL if
* Returns: (transfer full) (array) (nullable): thumbnail data or %NULL if
* @drawable is invalid.
**/
guchar *
@ -172,7 +172,7 @@ gimp_drawable_get_thumbnail (GimpDrawable *drawable,
* Retrieves thumbnail data for the drawable identified by @drawable.
* The thumbnail will be not larger than the requested size.
*
* Returns: (transfer full) (nullable): thumbnail data or %NULL if
* Returns: (transfer full) (array) (nullable): thumbnail data or %NULL if
* @drawable is invalid.
**/
guchar *