tools/build_gtk_tree.js
authorAlan Knowles <alan@roojs.com>
Thu, 9 Aug 2012 04:30:12 +0000 (12:30 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 9 Aug 2012 04:30:12 +0000 (12:30 +0800)
tools/build_gtk_tree.js

index 071b4f8..d3db3f3 100644 (file)
@@ -91,6 +91,12 @@ function BuildLists () {
         //print(JSON.stringify(odata.methods,null,4));
         odata.methods.forEach(function(m) {
             
+            
+            
+            
+             if (!m.name.match(/^(add|pack)/)) {
+                return;
+            }
             print(JSON.stringify(m,null,4));
             m.params.forEach(function(p) {
                  
@@ -105,9 +111,7 @@ function BuildLists () {
                 }
                 
                 
-                if (!m.name.match(/^(add|pack)/)) {
-                    return;
-                }
+               
                 
                 //print(full_method_name );