-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not use color properties directly #1245
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the same change required in Background.load_pattern ()
?
By the way, tested with latest Mutter 👍
To be honest, this binding felt a lot better when What I don't understand is how these bindings are being generated because of this: Line 119 in 837fb56
If those symbols are skipped and I can't find anywhere they're manually re-added, why are they in the bindings at all? Edit: Additionally, this is still bound in the old way in Clutter vapi that's not part of the Mutter tree: And, in GJS they have it bound so that But this just me saying I'm in favour keeping it as it was before the bindings change, just so we can keep it as a one liner in Gala. |
@davidmhewitt I've changed the .metadata and -custom.vapi to reflect the API you wanted here, makes things easier |
They are being copied when retrieving as they are simple structs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was experimenting crashes when changing the wallpaper and I though it was because of this change, but no, this code is fine.
After bisecting it looks like the problem was introduced in 4aec79a
Merging this branch, as it works as expected both with elementary's Mutter and Fedora's Mutter, and I'll try to fix the crash.
They are being copied when retrieving as they are simple structs.
Closes #1243