summaryrefslogtreecommitdiff
path: root/modules/overrides/GObject.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/overrides/GObject.js')
-rw-r--r--modules/overrides/GObject.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/overrides/GObject.js b/modules/overrides/GObject.js
index 77d4ac80..0cb7d9b7 100644
--- a/modules/overrides/GObject.js
+++ b/modules/overrides/GObject.js
@@ -60,8 +60,15 @@ const GObjectMeta = new Lang.Class({
}
}
}
+
+ if (params.Implements) {
+ for (let i = 0; i < params.Implements.length; i++)
+ Gi.add_interface(this.prototype, ifaces[i]);
+ }
+
delete params.Properties;
delete params.Signals;
+ delete params.Implements;
for (let prop in params) {
let value = this.prototype[prop];