Introspect/NameSpace.js
[gnome.introspection-doc-generator] / Introspect / NameSpace.js
index ff0ea9a..8662d00 100644 (file)
@@ -153,7 +153,7 @@ NameSpace = {
     clsGatherInterfaces : function(ns, cls)
     {
         var gi = GI.Repository.get_default();
-        var bb = ns.find_by_name(cls);
+        var bb = gi.find_by_name(ns, cls);
         var fullname = ns+'.'+cls;
         this.ifaceList = this.ifaceList || { };