From 89fd575b99dc31d0a54ca01798e8a9be87034dbc Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 20 Feb 2022 08:54:11 +0300 Subject: [PATCH] screenshot: Update method name in screenshot bind I missed it during refactoring. Makes this bind work again. Part-of: --- js/ui/screenshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js index adc1f8cb3..d40c5b244 100644 --- a/js/ui/screenshot.js +++ b/js/ui/screenshot.js @@ -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);