From 719d547dad014dbf27ead903b7f9c52cc66f567e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sat, 13 Nov 2010 15:47:42 +0800 Subject: [PATCH] Introspect/Constant.js --- Introspect/Constant.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Introspect/Constant.js b/Introspect/Constant.js index bad3f6d..4021197 100644 --- a/Introspect/Constant.js +++ b/Introspect/Constant.js @@ -22,7 +22,7 @@ Basic = imports.Basic.Basic; Constant = XObject.define( function(prop, memberOf, saveto, keylist) { - this.name = GI.base_info_get_name(prop); + this.name = prop.get_name(); var tif = GI.constant_info_get_type(prop); var ty = GI.type_tag_to_string( GI.type_info_get_tag(tif)); this.type = this.typeToName(GI.constant_info_get_type(prop)); -- 2.39.2