Skip to content

guides/gobject: update constructor usage in subclasses

Andy Holmes requested to merge wip/andyholmes/gobject-constructor into main

Since GJS 1.72 it is no longer necessary to use the _init() workaround as we can just use the standard ES6 constructor() and super().

Update the examples to reflect this and make a note of when this was changed.

Merge request reports