Introspect/NameSpace.js
[gnome.introspection-doc-generator] / Introspect / NameSpace.js
index d919a63..634a1c2 100644 (file)
@@ -12,7 +12,7 @@ console = imports.console.console;
 // BC/FC
 if (!GI.Repository) {
     GI.Repository = GI.IRepository;
-    
+    GI.FunctionInfoFlags = GI.IFunctionInfoFlags ;
     GI.InfoType = GI.IInfoType;
     
     GI.IBaseInfo.prototype.get_name = function(n) {
@@ -21,7 +21,9 @@ if (!GI.Repository) {
      GI.IBaseInfo.prototype.get_namespace = function(n) {
         return GI.base_info_get_namespace(this, n);
     }
-    
+    GI.IBaseInfo.prototype.get_attribute = function( n) {
+        return GI.base_info_get_attribute(this, n);
+    }
 }