Introspect/NameSpace.js
[gnome.introspection-doc-generator] / Introspect / NameSpace.js
index 9a959f0..65a6dd9 100644 (file)
@@ -140,7 +140,7 @@ NameSpace = {
     },
  
     
-  
+
     // store all the interfaces, so we can show a list of them later...
     // called when you list the namespace
     clsGatherInterfaces : function(ns, cls)
@@ -193,7 +193,7 @@ NameSpace = {
         
         console.log("LOAD DOCS: " + ns);
         var gi = GI.Repository.get_default();
-        var ver = GI.Repository.get_version(gi,ns);
+        var ver = gi.get_version(ns);
         if (!ver) {
             this.comments[ns] = {};
             return;