Introspect/Constant.js
[gnome.introspection-doc-generator] / Introspect / NameSpace.js
index 631c951..1a20fb7 100644 (file)
@@ -100,7 +100,7 @@ NameSpace = {
             var info = gi.get_info (ns, i);
            // print("NAME: " + info.get_name());
             //continue;
-            var info_type = GI.base_info_get_type (info);
+            var info_type = GI.base_info_get_type ? GI.base_info_get_type(info) : info.get_type();
            // print("Type: " + info_type);
             switch(info_type) {
                 case  GI.InfoType.OBJECT:
@@ -142,7 +142,7 @@ NameSpace = {
                     continue;
             }
         }
-        print ("SCAN NAMESPACE ALL DONE");
+        //print ("SCAN NAMESPACES ALL DONE");
                 
         var gi = GI.Repository.get_default();
         var ver = gi.get_version(ns);
@@ -190,7 +190,7 @@ NameSpace = {
         
    
     doc : function(what) {
-        print ("DOC: + " +what);
+        //print ("DOC: + " +what);
         var ns = what.split('.').shift();
         return '';
         this.commentLoad(ns);