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

index af9a152..3164432 100644 (file)
@@ -75,7 +75,7 @@ function BuildLists () {
         
         methods[cls] = {
             can_contain : [],
-            can_be_added_to : [],
+          //  can_be_added_to : [],
             using_methods : { },
             can_be_added_to_as : {}
         };
@@ -118,9 +118,9 @@ function BuildLists () {
                 }
                 methods[cls].using_methods[m.name] = m.params;
                 
-                if (methods[addable_type].can_be_added_to.indexOf(cls) < 0) { 
-                    methods[addable_type].can_be_added_to.push(cls);
-                }
+                //if (methods[addable_type].can_be_added_to.indexOf(cls) < 0) { 
+                //    methods[addable_type].can_be_added_to.push(cls);
+                //}
                 
                 
                 methods[addable_type].can_be_added_to_as[cls]=cls;