Arrays in parameters were not correctly annotated.

https://bugzilla.gnome.org/show_bug.cgi?id=653607
This commit is contained in:
Peter Ward 2011-06-29 13:01:20 +10:00 committed by Emmanuele Bassi
parent 8bc265d22c
commit c94e8d1292
2 changed files with 4 additions and 4 deletions

View File

@ -2575,7 +2575,7 @@ clutter_stage_hide_cursor (ClutterStage *stage)
* The alpha data contained in the returned buffer is driver-dependent,
* and not guaranteed to hold any sensible value.
*
* Return value: a pointer to newly allocated memory with the buffer
* Return value: (array): a pointer to newly allocated memory with the buffer
* or %NULL if the read failed. Use g_free() on the returned data
* to release the resources it has allocated.
*/

View File

@ -1581,7 +1581,7 @@ clutter_texture_set_from_data (ClutterTexture *texture,
/**
* clutter_texture_set_from_rgb_data:
* @texture: A #ClutterTexture
* @data: Image data in RGBA type colorspace.
* @data: (array): Image data in RGBA type colorspace.
* @has_alpha: Set to TRUE if image data has an alpha channel.
* @width: Width in pixels of image data.
* @height: Height in pixels of image data
@ -1659,7 +1659,7 @@ clutter_texture_set_from_rgb_data (ClutterTexture *texture,
/**
* clutter_texture_set_from_yuv_data:
* @texture: A #ClutterTexture
* @data: Image data in YUV type colorspace.
* @data: (array): Image data in YUV type colorspace.
* @width: Width in pixels of image data.
* @height: Height in pixels of image data
* @flags: #ClutterTextureFlags
@ -2257,7 +2257,7 @@ clutter_texture_get_base_size (ClutterTexture *texture,
/**
* clutter_texture_set_area_from_rgb_data:
* @texture: A #ClutterTexture
* @data: Image data in RGB type colorspace.
* @data: (array): Image data in RGB type colorspace.
* @has_alpha: Set to TRUE if image data has an alpha channel.
* @x: X coordinate of upper left corner of region to update.
* @y: Y coordinate of upper left corner of region to update.