summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattias Bengtsson <mattias.jc.bengtsson@gmail.com>2014-04-07 21:51:50 +0100
committerMattias Bengtsson <mattias.jc.bengtsson@gmail.com>2014-04-07 22:10:04 +0100
commit570fef74a9e57a12c828bff76fe827da1655319c (patch)
treeeac99f5bbe8ff693d9aaf455b01eb289a285e314
parent2b4333df6adf414d36911f04e4532541f2ba8359 (diff)
downloadgjs-570fef74a9e57a12c828bff76fe827da1655319c.tar.gz
GObject overrides: Fix some typos
Add two missing semicolons and fix a parameter name mismatch. https://bugzilla.gnome.org/show_bug.cgi?id=727781
-rw-r--r--modules/overrides/GObject.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/overrides/GObject.js b/modules/overrides/GObject.js
index 17b970a2..481a3ba1 100644
--- a/modules/overrides/GObject.js
+++ b/modules/overrides/GObject.js
@@ -147,7 +147,7 @@ function _init() {
function _makeDummyClass(obj, name, upperName, gtypeName, actual) {
let gtype = GObject.type_from_name(gtypeName);
obj['TYPE_' + upperName] = gtype;
- obj[name] = function(v) { return new actual(v); }
+ obj[name] = function(v) { return new actual(v); };
obj[name].$gtype = gtype;
}
@@ -265,7 +265,7 @@ function _init() {
};
this.ParamSpec.param = function(name, nick, blurb, flags, param_type) {
- return GObject.ParamSpec._new_internal(name, boxed_type, nick, blurb, flags);
+ return GObject.ParamSpec._new_internal(name, param_type, nick, blurb, flags);
};
this.Class = GObjectMeta;
@@ -287,5 +287,5 @@ function _init() {
this.Object.prototype.disconnect = function(id) {
return GObject.signal_handler_disconnect(this, id);
- }
+ };
}