projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3191c18
)
Introspect/Constant.js
author
Alan Knowles
<alan@roojs.com>
Wed, 8 Aug 2012 10:23:52 +0000
(18:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 8 Aug 2012 10:23:52 +0000
(18:23 +0800)
Introspect/Constant.js
patch
|
blob
|
history
diff --git
a/Introspect/Constant.js
b/Introspect/Constant.js
index
376d960
..
af4df63
100644
(file)
--- a/
Introspect/Constant.js
+++ b/
Introspect/Constant.js
@@
-36,7
+36,9
@@
Constant = XObject.define(
if (ty != 'interface') {
var argm = new GI._Argument();
- GI.constant_info_get_value ( prop ,argm);
+ GI.constant_info_get_value ?
+ GI.constant_info_get_value ( prop ,argm) :
+ prop.get_value(argm);
if (ty != 'utf8') {
this.value = argm.v_long;
} else {