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:
55efebd
)
Builder/Provider/Palete/Gtk.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 07:51:38 +0000
(15:51 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 07:51:38 +0000
(15:51 +0800)
Builder/Provider/Palete/Gtk.js
patch
|
blob
|
history
diff --git
a/Builder/Provider/Palete/Gtk.js
b/Builder/Provider/Palete/Gtk.js
index
dadea7d
..
1d61ac0
100644
(file)
--- a/
Builder/Provider/Palete/Gtk.js
+++ b/
Builder/Provider/Palete/Gtk.js
@@
-277,6
+277,13
@@
Gtk = XObject.define(
for (var i =0;i < GIRepository[meth[4]](bi); i++) {
var prop = GIRepository[meth[5]](bi, i);
var n_original = GIRepository.base_info_get_name(prop);
+ var flags = GIRepository.function_info_get_flags (prop);
+ if (flags & GI.IFunctionInfoFlags.IS_CONSTRUCTOR) {
+ continue;
+ }
+ if (!(flags & GI.IFunctionInfoFlags.IS_METHOD)) {
+ continue;
+ }
// print ('signal: ' + n_original);
var add = {
name : n_original.replace(/\-/g, '_'),