[gnome-shell/wip/snwh/appgrid-regression-fixes] screenshot: Update method name in screenshot bind



commit f96bcf2b32a57ff306416837c6ff66992dca7341
Author: Ivan Molodetskikh <yalterz gmail com>
Date:   Sun Feb 20 08:54:11 2022 +0300

    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>

 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 adc1f8cb35..d40c5b2449 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]