Introspect/Constant.js
[gnome.introspection-doc-generator] / Introspect / Constant.js
index 4d41668..376d960 100644 (file)
@@ -23,7 +23,7 @@ Constant = XObject.define(
     function(prop, memberOf, saveto, keylist) {
           
         this.name  =  prop.get_name();
-        var tif    = prop.get_type(); //GI.constant_info_get_type(prop);
+        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));