[gtk+] gsk: Some g-i annotation fixes
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gsk: Some g-i annotation fixes
- Date: Mon, 25 Sep 2017 10:21:17 +0000 (UTC)
commit d09f695172c4b2aa00a8489715b25a0113ee86e0
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Sep 25 11:15:14 2017 +0200
gsk: Some g-i annotation fixes
gsk/gskrendernodeimpl.c | 4 ++--
gsk/gsktexture.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index 3dcd1cb..bda975d 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -306,7 +306,7 @@ static const GskRenderNodeClass GSK_REPEATING_LINEAR_GRADIENT_NODE_CLASS = {
* @bounds: the rectangle to render the linear gradient into
* @start: the point at which the linear gradient will begin
* @end: the point at which the linear gradient will finish
- * @color_stops: a pointer to an array of #GskColorStop defining the gradient
+ * @color_stops: (array length=n_color_stops): a pointer to an array of #GskColorStop defining the gradient
* @n_color_stops: the number of elements in @color_stops
*
* Creates a #GskRenderNode that will create a linear gradient from the given
@@ -353,7 +353,7 @@ gsk_linear_gradient_node_new (const graphene_rect_t *bounds,
* @bounds: the rectangle to render the linear gradient into
* @start: the point at which the linear gradient will begin
* @end: the point at which the linear gradient will finish
- * @color_stops: a pointer to an array of #GskColorStop defining the gradient
+ * @color_stops: (array length=n_color_stops): a pointer to an array of #GskColorStop defining the gradient
* @n_color_stops: the number of elements in @color_stops
*
* Creates a #GskRenderNode that will create a repeating linear gradient
diff --git a/gsk/gsktexture.c b/gsk/gsktexture.c
index 03691ff..e7f6670 100644
--- a/gsk/gsktexture.c
+++ b/gsk/gsktexture.c
@@ -281,7 +281,7 @@ gsk_cairo_texture_init (GskCairoTexture *self)
/**
* gsk_texture_new_for_data:
- * @data: the pixel data
+ * @data: (array): the pixel data
* @width: the number of pixels in each row
* @height: the number of rows
* @stride: the distance from the beginning of one row to the next, in bytes
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]