tools/build_gtk_tree.js
[app.Builder.js] / tools / build_gtk_tree.js
index 5e1796f..9db2641 100644 (file)
@@ -69,6 +69,9 @@ for (cls in classes) {
             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);
             
         });