From 34e50f03c673f1b27762b86f3bed58df34ed94ba Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Fri, 8 Aug 2008 20:05:49 +0000 Subject: type -> ntype 2008-08-08 Johan Dahlin * 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 --- giscanner/girwriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'giscanner/girwriter.py') 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) -- cgit v1.2.1