Update to sync with working copy
[gnome.introspection-doc-generator] / Introspect / Property.js
index 832152f..7997796 100644 (file)
@@ -20,7 +20,7 @@ Basic        = imports.Basic.Basic;
 Property = XObject.define(
     function(prop, memberOf, saveto, keylist) {
         this.propertyType = 'Property';
-        var n_original = GI.base_info_get_name(prop);
+        var n_original = prop.get_name();
         this.name  =  n_original.replace(/\-/g, '_') ,
         this.type  = this.typeToName(GI.property_info_get_type(prop)),
         this.flags =  GI.property_info_get_flags(prop),