diff options
Diffstat (limited to 'modules/core/overrides/GObject.js')
-rw-r--r-- | modules/core/overrides/GObject.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/core/overrides/GObject.js b/modules/core/overrides/GObject.js index f3dce686..54781526 100644 --- a/modules/core/overrides/GObject.js +++ b/modules/core/overrides/GObject.js @@ -549,6 +549,8 @@ function _init() { // Reverse the interface array to give the last required interface precedence over the first. const requiredInterfaces = [...gobjectInterfaces].reverse(); requiredInterfaces.forEach(iface => + _copyInterfacePrototypeDescriptors(klass, iface)); + requiredInterfaces.forEach(iface => _copyInterfacePrototypeDescriptors(klass.prototype, iface.prototype)); Object.getOwnPropertyNames(klass.prototype) |