screenshot: Update method name in screenshot bind

I missed it during refactoring. Makes this bind work again.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2202>
This commit is contained in:
Ivan Molodetskikh 2022-02-20 08:54:11 +03:00 committed by Marge Bot
parent 99f7ae05f0
commit 89fd575b99

View File

@ -1332,7 +1332,7 @@ var ScreenshotUI = GObject.registerClass({
async () => {
try {
const shooter = new Shell.Screenshot();
const [content] = await shooter.to_content();
const [content] = await shooter.screenshot_stage_to_content();
const texture = content.get_texture();
await captureScreenshot(texture, null, 1, null);