Palete/Gtk.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jun 2014 12:01:05 +0000 (20:01 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jun 2014 12:01:05 +0000 (20:01 +0800)
Palete/Gtk.js

index bd587d7..d21f2b9 100644 (file)
@@ -290,7 +290,7 @@ Gtk = XObject.define(
                 
                 if (n_original.match(/^new/)) {
                     var add = {
-                        name :  n_original.replace(/\-/g, '_'),
+                        name :   .replace(/\-/g, '_'),
                         type : 'ctor', //???
                         desc : '',
                         //desc : this.doc(ename + "."+ n_original)
@@ -299,6 +299,7 @@ Gtk = XObject.define(
                     mlist.push(add);
                     continue;
                 }
+                continue;
                 // not sure why we need all the other ones...
                 //if (!(flags & GIRepository.FunctionInfoFlags.IS_METHOD)) {
                 //    continue;