Skip to content

overrides: Make class object a parameter of register type hooks

Philip Chimento requested to merge ptomato/gjs:register-type-hook into master

The GObject register type hooks previously used their this-object as the class object to act upon. That was awkward because in many cases they weren't called in such a way that the correct class object was already the this-object, making it necessary to use .call(). Instead, we can make the class object the parameter.

Merge request reports