From d09f695172c4b2aa00a8489715b25a0113ee86e0 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Mon, 25 Sep 2017 11:15:14 +0200 Subject: [PATCH] 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 3dcd1cb521..bda975de18 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 03691ff388..e7f6670872 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