clutter/stage: Remove inout from paint_to_buffer

Remove the (inout) annotation as we are only using the byte array directly and not
a pointer to the array.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2026>
This commit is contained in:
Corentin Noël 2021-09-29 09:34:41 +02:00
parent 2c8f88dab4
commit 89a13b4557

View File

@ -3199,7 +3199,7 @@ clutter_stage_paint_to_framebuffer (ClutterStage *stage,
* @stage: a #ClutterStage actor * @stage: a #ClutterStage actor
* @rect: a #cairo_rectangle_int_t * @rect: a #cairo_rectangle_int_t
* @scale: the scale * @scale: the scale
* @data: (inout) (array) (element-type guint8): a pointer to the data * @data: (array) (element-type guint8): a pointer to the data
* @stride: stride of the image surface * @stride: stride of the image surface
* @format: the pixel format * @format: the pixel format
* @paint_flags: the #ClutterPaintFlag * @paint_flags: the #ClutterPaintFlag