projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05935c0
)
rearrange
author
Tommi Komulainen
<tko@src.gnome.org>
Thu, 23 Oct 2008 17:40:25 +0000
(17:40 +0000)
committer
Tommi Komulainen
<tko@src.gnome.org>
Thu, 23 Oct 2008 17:40:25 +0000
(17:40 +0000)
* giscanner/glibtransformer.py (_adjust_transfer): rearrange
svn path=/trunk/; revision=794
giscanner/glibtransformer.py
patch
|
blob
|
history
diff --git
a/giscanner/glibtransformer.py
b/giscanner/glibtransformer.py
index
b666c92
..
c2c0775
100644
(file)
--- a/
giscanner/glibtransformer.py
+++ b/
giscanner/glibtransformer.py
@@
-799,10
+799,9
@@
class GLibTransformer(object):
is_out = (param.direction != PARAM_DIRECTION_IN)
else:
is_out = True
- if (is_out and
- (param.transfer is None or param.transfer_inferred) and
- is_object):
- param.transfer = 'full'
+ if param.transfer is None or param.transfer_inferred:
+ if is_out and is_object:
+ param.transfer = 'full'
def _adjust_throws(self, func):
if func.parameters == []: