X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Introspect%2FNameSpace.js;h=b5fcacdb5620621f6d8664871e1e391264ea13e7;hb=eb02ac325fed2bd0b4003b9b008981b0ba96af89;hp=2f4c44cdde931816c97f4fde02744ef60b101953;hpb=9537572dce4e9d2e92a53620516372d6a1021503;p=gnome.introspection-doc-generator diff --git a/Introspect/NameSpace.js b/Introspect/NameSpace.js index 2f4c44c..b5fcacd 100644 --- a/Introspect/NameSpace.js +++ b/Introspect/NameSpace.js @@ -78,8 +78,8 @@ NameSpace = { interfaces: [], }; - for (var i=0; i < GI.Repository.get_n_infos (gi,ns); i++ ) { - var info = GI.Repository.get_info (gi, ns, i); + for (var i=0; i < gi.get_n_infos (ns); i++ ) { + var info = gi.get_info (ns, i); // print("NAME: " + info.get_name()); //continue; var info_type = GI.base_info_get_type (info); @@ -140,14 +140,14 @@ NameSpace = { }, - + // store all the interfaces, so we can show a list of them later... // called when you list the namespace clsGatherInterfaces : function(ns, cls) { // print("clsGatherInterfaces: " + ns + ", " + cls); var gi = GI.Repository.get_default(); - var bb = GI.Repository.find_by_name(gi,ns, cls); + var bb = gi.find_by_name(ns, cls); var fullname = ns+'.'+cls; this.ifaceList = this.ifaceList || { };