summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/core/overrides/GObject.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/overrides/GObject.js b/modules/core/overrides/GObject.js
index 50deb7dc..af08175e 100644
--- a/modules/core/overrides/GObject.js
+++ b/modules/core/overrides/GObject.js
@@ -227,7 +227,7 @@ function _init() {
let gtype = GObject.type_from_name(gtypeName);
obj[`TYPE_${upperName}`] = gtype;
obj[name] = function (v) {
- return new actual(v);
+ return actual(v);
};
obj[name].$gtype = gtype;
}