diff options
author | Johan Dahlin <jdahlin@litl.com> | 2011-08-13 12:45:12 -0300 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.co.uk> | 2011-08-13 19:03:34 +0200 |
commit | c3a1333790dd1c25c2e19b80be84f6c8a84c91d6 (patch) | |
tree | 146b3a417c0b33f7dac40f79beb53da56cb4a2c0 /giscanner/gdumpparser.py | |
parent | afb508ed41233b1cf56b685ba99bbf7c0c727345 (diff) | |
download | gobject-introspection-c3a1333790dd1c25c2e19b80be84f6c8a84c91d6.tar.gz |
Make sure signal works when there isn't one specifiedgir-docbook
Diffstat (limited to 'giscanner/gdumpparser.py')
-rw-r--r-- | giscanner/gdumpparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py index be25d614..f94917e6 100644 --- a/giscanner/gdumpparser.py +++ b/giscanner/gdumpparser.py @@ -453,7 +453,7 @@ different --identifier-prefix.""" % (xmlnode.attrib['name'], self._namespace.ide rtype = ast.Type.create_from_gtype_name(rctype) return_ = ast.Return(rtype) parameters = [] - when = signal_info.attrib['when'] + when = signal_info.attrib.get('when') no_recurse = signal_info.attrib.get('no-recurse', '0') == '1' detailed = signal_info.attrib.get('detailed', '0') == '1' action = signal_info.attrib.get('action', '0') == '1' |