Introspect/NameSpace.js
[gnome.introspection-doc-generator] / Introspect / NameSpace.js
index 3f52160..32708ee 100644 (file)
@@ -21,7 +21,7 @@ if (!GI.Repository) {
      GI.IBaseInfo.prototype.get_namespace = function(n) {
         return GI.base_info_get_namespace(this, n);
     }
-    GI.IBaseInfo.get_attribute ( n) {
+    GI.IBaseInfo.prototype.get_attribute ( n) {
         return GI.base_info_get_attribute(this, n);
     }
 }