tools/build_gtk_tree.js
authorAlan Knowles <alan@roojs.com>
Fri, 10 Aug 2012 10:42:17 +0000 (18:42 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 10 Aug 2012 10:42:17 +0000 (18:42 +0800)
tools/build_gtk_tree.js

index 88f2e3a..bd5540c 100644 (file)
@@ -310,10 +310,10 @@ function BuildLists () {
         var GObject = imports.gi.GObject;
         var match = GObject.type_from_name(ar.join(''));
         //print([match, ct]);
-        print ("matching?" + (GObject.type_is_a(match,  ct ) ? "YES" : "NO"));
+        //print ("matching?" + (GObject.type_is_a(match,  ct ) ? "YES" : "NO"));
         
         
-        return true;
+        return (GObject.type_is_a(match,  ct )  ? true : false;
         
     }