Introspect/NameSpace.js
[gnome.introspection-doc-generator] / Introspect / NameSpace.js
index 3d3acc8..9a959f0 100644 (file)
@@ -147,7 +147,7 @@ NameSpace = {
     {
        // 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 || { };