projects
/
gnome.gobject-introspection
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scanner: Always explicitely set the scope of callbacks
[gnome.gobject-introspection]
/
giscanner
/
annotationparser.py
diff --git
a/giscanner/annotationparser.py
b/giscanner/annotationparser.py
index
d91bb1c
..
aa04ef4
100644
(file)
--- a/
giscanner/annotationparser.py
+++ b/
giscanner/annotationparser.py
@@
-507,7
+507,7
@@
class AnnotationApplier(object):
def _parse_param(self, parent, param, tag):
options = getattr(tag, 'options', {})
- if isinstance(parent, Function)
and not param.scope
:
+ if isinstance(parent, Function):
scope = options.get(OPT_SCOPE)
if scope:
param.scope = scope.one()