summaryrefslogtreecommitdiff
path: root/giscanner/girparser.py
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2011-08-13 12:45:12 -0300
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2011-08-13 19:03:34 +0200
commitc3a1333790dd1c25c2e19b80be84f6c8a84c91d6 (patch)
tree146b3a417c0b33f7dac40f79beb53da56cb4a2c0 /giscanner/girparser.py
parentafb508ed41233b1cf56b685ba99bbf7c0c727345 (diff)
downloadgobject-introspection-gir-docbook.tar.gz
Make sure signal works when there isn't one specifiedgir-docbook
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 ffe0dbc3..5184d16f 100644
--- a/giscanner/girparser.py
+++ b/giscanner/girparser.py
@@ -300,7 +300,7 @@ class GIRParser(object):
func = klass(name, retval, parameters, throws)
elif klass is ast.Signal:
func = klass(name, retval, parameters,
- when=node.attrib.get('when', 'first'),
+ when=node.attrib.get('when'),
no_recurse=node.attrib.get('no-recurse', '0') == '1',
detailed=node.attrib.get('detailed', '0') == '1',
action=node.attrib.get('action', '0') == '1',