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:
c66ca4c
)
tools/build_gtk_tree.js
author
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 09:15:59 +0000
(17:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 1 Dec 2010 09:15:59 +0000
(17:15 +0800)
tools/build_gtk_tree.js
patch
|
blob
|
history
diff --git
a/tools/build_gtk_tree.js
b/tools/build_gtk_tree.js
index
5e1796f
..
9db2641
100644
(file)
--- a/
tools/build_gtk_tree.js
+++ b/
tools/build_gtk_tree.js
@@
-69,6
+69,9
@@
for (cls in classes) {
if (typeof(methods[cls][p.type]) == 'undefined') {
methods[cls][p.type] = [];
}
if (typeof(methods[cls][p.type]) == 'undefined') {
methods[cls][p.type] = [];
}
+ if (methods[cls][p.type].indexOf(m.name) > -1) {
+ return;
+ }
methods[cls][p.type].push(m.name);
});
methods[cls][p.type].push(m.name);
});