clutter/stage: Remove 'paint' argument in capture_into()

There are more suitable API when the stage needs to be actually painted
into something. Nothing actually used this anymore too, so remove this
functionality.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1689>
This commit is contained in:
Jonas Ådahl
2021-01-27 16:37:48 +01:00
committed by Marge Bot
parent 662e29990a
commit 1d4e535e7a
3 changed files with 2 additions and 16 deletions

View File

@ -492,7 +492,7 @@ meta_screen_cast_monitor_stream_src_record_to_buffer (MetaScreenCastStreamSrc *
monitor = get_monitor (monitor_src);
logical_monitor = meta_monitor_get_logical_monitor (monitor);
stage = get_stage (monitor_src);
clutter_stage_capture_into (stage, FALSE, &logical_monitor->rect, data);
clutter_stage_capture_into (stage, &logical_monitor->rect, data);
switch (meta_screen_cast_stream_get_cursor_mode (stream))
{