projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db1053
)
Palete/Gtk.js
author
Alan Knowles
<alan@roojs.com>
Tue, 10 Jun 2014 11:57:17 +0000
(19:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 10 Jun 2014 11:57:17 +0000
(19:57 +0800)
Palete/Gtk.js
patch
|
blob
|
history
diff --git
a/Palete/Gtk.js
b/Palete/Gtk.js
index
30d3cac
..
70f65eb
100644
(file)
--- a/
Palete/Gtk.js
+++ b/
Palete/Gtk.js
@@
-288,9
+288,7
@@
Gtk = XObject.define(
print(ename +": ADD method: " + n_original );
var flags = GIRepository.property_info_get_flags(prop);
- print( flags);
- print( GIRepository.FunctionInfoFlags.IS_CONSTRUCTOR );
- if (flags & GIRepository.FunctionInfoFlags.IS_CONSTRUCTOR) {
+ if (n_original.match(/^new/)) {
var add = {
name : n_original.replace(/\-/g, '_'),
type : 'ctor', //???