Skip to content
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

Remove construct-only flag from property that is set after construct #45

Merged
merged 1 commit into from
Apr 29, 2021

Conversation

ptomato
Copy link
Owner

@ptomato ptomato commented Feb 14, 2021

GJS 1.68 fixes a bug where setting a construct-only GObject property would
be ignored. Now that it prints a warning, it's clear that this property
wasn't being treated as construct-only; remove the flag.

GJS 1.68 fixes a bug where setting a construct-only GObject property would
be ignored. Now that it prints a warning, it's clear that this property
wasn't being treated as construct-only; remove the flag.
@tchx84
Copy link
Contributor

tchx84 commented Apr 29, 2021

ouch, I got hit by this today:

 (gjs:69): Gjs-CRITICAL **: 17:49:00.727: JS ERROR: TypeError: "jasmine_core_path" is read-only

@tchx84
Copy link
Contributor

tchx84 commented Apr 29, 2021

ouch, I got hit by this today:

 (gjs:69): Gjs-CRITICAL **: 17:49:00.727: JS ERROR: TypeError: "jasmine_core_path" is read-only

I can confirm this fixes the issue, for me ;)

@ptomato ptomato merged commit 2c1e6ff into master Apr 29, 2021
@ptomato ptomato deleted the fix-construct-only branch April 29, 2021 23:01
@ptomato
Copy link
Owner Author

ptomato commented Apr 29, 2021

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants