summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
authorLucas Rocha <lucasr@gnome.org>2008-10-03 17:09:40 +0000
committerLucas Almeida Rocha <lucasr@src.gnome.org>2008-10-03 17:09:40 +0000
commit8f652ba59b188da3a851fdc607ee2b7998101dca (patch)
treeb2f2982038ffc920761dddcee05caed6b46452c0 /giscanner/girparser.py
parentc36e1e7204cfccad9364eaafb7643488804af526 (diff)
downloadgobject-introspection-8f652ba59b188da3a851fdc607ee2b7998101dca.tar.gz
fix the last parameter of GLibEnumMember constructor as it should be the
2008-10-03 Lucas Rocha <lucasr@gnome.org> * giscanner/girwriter.py (_parser_member): fix the last parameter of GLibEnumMember constructor as it should be the enum member nick. svn path=/trunk/; revision=651
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r--giscanner/girparser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py
index 09b58cf7..91416f0e 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -193,7 +193,7 @@ class GIRParser(object):
return GLibEnumMember(node.attrib['name'],
node.attrib['value'],
node.attrib[_cns('identifier')],
- node.attrib.get(_glibns('get-type')))
+ node.attrib.get(_glibns('nick')))
def _parse_enumeration_bitfield(self, node):
klass = (GLibFlags if node.tag == _corens('bitfield') else GLibEnum)