diff options
author | Johan Dahlin <jdahlin@litl.com> | 2011-08-13 12:45:12 -0300 |
---|---|---|
committer | Johan Dahlin <jdahlin@litl.com> | 2011-08-13 12:45:12 -0300 |
commit | a8b700e2d9c7b63bd351f4194820680f4da3da8a (patch) | |
tree | 83279b00537e93569f942f32d673ab2d0d64baf1 /giscanner/girparser.py | |
parent | d7a2b1dc90bd61bcd0908c3fd8b124bb84ecc862 (diff) | |
download | gobject-introspection-a8b700e2d9c7b63bd351f4194820680f4da3da8a.tar.gz |
Make sure signal works when there isn't one specified
Diffstat (limited to 'giscanner/girparser.py')
-rw-r--r-- | giscanner/girparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/girparser.py b/giscanner/girparser.py index 5e1866d2..d7a59b83 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', |