Palete/Gtk.js
authorAlan Knowles <alan@roojs.com>
Tue, 20 May 2014 13:45:58 +0000 (21:45 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 20 May 2014 13:45:58 +0000 (21:45 +0800)
Palete/Gtk.js

index 5af9a8e..d66c35f 100644 (file)
@@ -255,7 +255,8 @@ Gtk = XObject.define(
                      name :  n_original.replace(/\-/g, '_'),
                      type :  ty,
                      desc : this.doc(ename + '.' + n_original),
-                     sig : ''
+                     sig : '',
+                     ctor_only : flags && GObject.ParamFlags.CONSTRUCT_ONLY
                 }
                 plist.push(add)
             }