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:
parent
99f7ae05f0
commit
89fd575b99
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user