summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-11-17 13:48:07 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-11-17 13:48:07 +0000
commit5a938ad83d4b0c9b1f97f8106d91f41ba2834fc5 (patch)
tree7e93a57773bc3279206289535e54c6d06c5dcc49
parentfceff93994686d0da6a1b97b007907ddd6947b6a (diff)
downloadgtk+-5a938ad83d4b0c9b1f97f8106d91f41ba2834fc5.tar.gz
Annotate the gsk_border_node_peek_widths() return value
We return a fixed sized C array of floats.
-rw-r--r--gsk/gskrendernodeimpl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gsk/gskrendernodeimpl.c b/gsk/gskrendernodeimpl.c
index d2b0543741..b104372baf 100644
--- a/gsk/gskrendernodeimpl.c
+++ b/gsk/gskrendernodeimpl.c
@@ -940,8 +940,9 @@ gsk_border_node_peek_outline (GskRenderNode *node)
*
* Retrieves the stroke widths of the border.
*
- * Returns: (transfer none): an array of 4 floats for the top,
- * right, bottom and left stroke width of the border
+ * Returns: (transfer none) (array fixed-size=4): an array of 4 floats
+ * for the top, right, bottom and left stroke width of the border,
+ * respectively
*/
const float *
gsk_border_node_peek_widths (GskRenderNode *node)