ptomato / jasmine-gjs

Jasmine for GJS
MIT License
20 stars 8 forks source link

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

Closed ptomato closed 3 years ago

ptomato commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Thanks!