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:
6e891ae
)
Introspect/NameSpace.js
author
Alan Knowles
<alan@akkbhome.com>
Thu, 11 Nov 2010 23:36:35 +0000
(07:36 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Thu, 11 Nov 2010 23:36:35 +0000
(07:36 +0800)
Introspect/NameSpace.js
patch
|
blob
|
history
diff --git
a/Introspect/NameSpace.js
b/Introspect/NameSpace.js
index
c6c6e3e
..
8662d00
100644
(file)
--- a/
Introspect/NameSpace.js
+++ b/
Introspect/NameSpace.js
@@
-93,8
+93,8
@@
NameSpace = {
var info_type = GI.base_info_get_type (info);
switch(info_type) {
case GI.InfoType.OBJECT:
var info_type = GI.base_info_get_type (info);
switch(info_type) {
case GI.InfoType.OBJECT:
- ret.objects.push(
GI.base_info_get_name(info
));
- this.clsGatherInterfaces(ns ,
GI.base_info_get_name(info
));
+ ret.objects.push(
info.get_name(
));
+ this.clsGatherInterfaces(ns ,
info.get_name(
));
continue;
case GI.InfoType.INTERFACE:
ret.interfaces.push(info.get_name());
continue;
case GI.InfoType.INTERFACE:
ret.interfaces.push(info.get_name());
@@
-116,10
+116,10
@@
NameSpace = {
continue;
}
continue;
}
- ret.structs.push(
GI.base_info_get_name(info
));
+ ret.structs.push(
info.get_name(
));
continue;
case GI.InfoType.UNION:
continue;
case GI.InfoType.UNION:
- ret.unions.push(
GI.base_info_get_name(info
));
+ ret.unions.push(
info.get_name(
));
continue;
case GI.InfoType.CONSTANT:
new imports.Constant.Constant(info, ret, 'values', []);
continue;
case GI.InfoType.CONSTANT:
new imports.Constant.Constant(info, ret, 'values', []);