[clutter] Arrays in parameters were not correctly annotated.
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] Arrays in parameters were not correctly annotated.
- Date: Fri, 1 Jul 2011 11:32:32 +0000 (UTC)
commit c94e8d1292aeaff63051148b805a223723ecbbea
Author: Peter Ward <peteraward gmail com>
Date: Wed Jun 29 13:01:20 2011 +1000
Arrays in parameters were not correctly annotated.
https://bugzilla.gnome.org/show_bug.cgi?id=653607
clutter/clutter-stage.c | 2 +-
clutter/clutter-texture.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c
index e045406..ac0e65f 100644
--- a/clutter/clutter-stage.c
+++ b/clutter/clutter-stage.c
@@ -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.
*/
diff --git a/clutter/clutter-texture.c b/clutter/clutter-texture.c
index 9022a32..b55160f 100644
--- a/clutter/clutter-texture.c
+++ b/clutter/clutter-texture.c
@@ -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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]