Introspect/Basic.js
[gnome.introspection-doc-generator] / Introspect / Basic.js
index eae139b..8e4493a 100644 (file)
@@ -91,7 +91,7 @@ Basic = XObject.define(
                     type : this.typeToName(GI.arg_info_get_type(arg)),
                     direction : direction,
                     be_null :  GI.arg_info_may_be_null(arg) || GI.arg_info_is_optional(arg),
-                    desc : GI.base_info_get_attribute(arg, 'doc') || ''
+                    desc : arg.get_attribute('doc') || ''
                 };