diff options
author | Johan Dahlin <johan@src.gnome.org> | 2009-01-11 22:59:13 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2009-01-11 22:59:13 +0000 |
commit | 3f6dd727233c364396cf9adff2e2721942228c0b (patch) | |
tree | 2a4ddf08b87e72e7057a3ea0b3e2b282d0049517 /giscanner | |
parent | db29f9897a6a4fbea8b07b7d0fc7cf90f275c618 (diff) | |
download | gobject-introspection-3f6dd727233c364396cf9adff2e2721942228c0b.tar.gz |
Apply callback scope transfer before attempting to guess it, to a scenario where we guess/annotation something and then forcefully overrides it
svn path=/branches/annotation/; revision=1010
Diffstat (limited to 'giscanner')
-rw-r--r-- | giscanner/annotationparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py index 10ebe64b..b942ed38 100644 --- a/giscanner/annotationparser.py +++ b/giscanner/annotationparser.py @@ -312,13 +312,13 @@ class AnnotationApplier(object): def _parse_param(self, parent, param, block): tag = self._get_tag(block, param.name) options = getattr(tag, 'options', {}) - self._parse_param_ret_common(parent, param, options) if isinstance(parent, Function): scope = options.get('scope') if scope: param.scope = scope.one() param.transfer = PARAM_TRANSFER_NONE + self._parse_param_ret_common(parent, param, options) def _parse_param_ret_common(self, parent, node, options): node.direction = self._extract_direction(node, options) |