summaryrefslogtreecommitdiff
path: root/giscanner/girwriter.py
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-08-08 20:05:49 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-08-08 20:05:49 +0000
commit34e50f03c673f1b27762b86f3bed58df34ed94ba (patch)
tree4e6c881664145d8729f7ae142276816800ac30a9 /giscanner/girwriter.py
parent1401ee41cf294451c139e534ec7afc32acafd81f (diff)
downloadgobject-introspection-34e50f03c673f1b27762b86f3bed58df34ed94ba.tar.gz
type -> ntype
2008-08-08 Johan Dahlin <johan@gnome.org> * giscanner/girwriter.py: type -> ntype * giscanner/glibast.py: * giscanner/glibtransformer.py: Swap order of members, to keep it consistent with base enum class svn path=/trunk/; revision=326
Diffstat (limited to 'giscanner/girwriter.py')
-rw-r--r--giscanner/girwriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girwriter.py b/giscanner/girwriter.py
index 79287898..7cf61b22 100644
--- a/giscanner/girwriter.py
+++ b/giscanner/girwriter.py
@@ -120,7 +120,7 @@ class GIRWriter(XMLWriter):
# FIXME: figure out if type references a basic type
# or a boxed/class/interface etc. and skip
# writing the ctype if the latter.
- if type.ctype is not None:
+ if ntype.ctype is not None:
attrs.append(('c:type', ntype.ctype))
self.write_tag('type', attrs)