Introspect/Constant.js
authorAlan Knowles <alan@roojs.com>
Wed, 8 Aug 2012 10:28:13 +0000 (18:28 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 8 Aug 2012 10:28:13 +0000 (18:28 +0800)
Introspect/Constant.js

index bfd3b30..16fe9e8 100644 (file)
@@ -44,9 +44,9 @@ Constant = XObject.define(
         if (ty != 'interface') {
             
             var argm = new GI._Argument();
         if (ty != 'interface') {
             
             var argm = new GI._Argument();
-            GI.constant_info_get_value ?
-                GI.constant_info_get_value ( prop ,argm) :
-                prop.get_value(argm);
+            
+            GI.constant_info_get_value ( prop ,argm) 
+                
                 
             if (ty != 'utf8') {
                 this.value = argm.v_long;
                 
             if (ty != 'utf8') {
                 this.value = argm.v_long;