Skip to content

cinnamonDBus.js: Port to newer class style and remove use of Lang.bind()#13580

Open
JosephMcc wants to merge 1 commit intolinuxmint:masterfrom
JosephMcc:dbus-cleanup
Open

cinnamonDBus.js: Port to newer class style and remove use of Lang.bind()#13580
JosephMcc wants to merge 1 commit intolinuxmint:masterfrom
JosephMcc:dbus-cleanup

Conversation

@JosephMcc
Copy link
Contributor

No description provided.

ScreenshotArea(include_cursor, x, y, width, height, flash, filename) {
let screenshot = new Cinnamon.Screenshot();
screenshot.screenshot_area(include_cursor, x, y, width, height, filename,
Lang.bind(this, this._onScreenshotComplete, flash));
Copy link
Member

@mtwebster mtwebster Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mabye get rid of Lang.bind in this file also?

@JosephMcc JosephMcc changed the title cinnamonDBus.js: Port to newer class style Feb 20, 2026
@JosephMcc
Copy link
Contributor Author

@mtwebster Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants