[gjs] GObject overrides: Fix some typos
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] GObject overrides: Fix some typos
- Date: Mon, 7 Apr 2014 22:11:27 +0000 (UTC)
commit 570fef74a9e57a12c828bff76fe827da1655319c
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Mon Apr 7 21:51:50 2014 +0100
GObject overrides: Fix some typos
Add two missing semicolons and fix a parameter name mismatch.
https://bugzilla.gnome.org/show_bug.cgi?id=727781
modules/overrides/GObject.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/overrides/GObject.js b/modules/overrides/GObject.js
index 17b970a..481a3ba 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);
- }
+ };
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]