gobject-introspection r794 - trunk/giscanner
- From: tko svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r794 - trunk/giscanner
- Date: Thu, 23 Oct 2008 17:40:26 +0000 (UTC)
Author: tko
Date: Thu Oct 23 17:40:25 2008
New Revision: 794
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=794&view=rev
Log:
rearrange
* giscanner/glibtransformer.py (_adjust_transfer): rearrange
Modified:
trunk/giscanner/glibtransformer.py
Modified: trunk/giscanner/glibtransformer.py
==============================================================================
--- trunk/giscanner/glibtransformer.py (original)
+++ trunk/giscanner/glibtransformer.py Thu Oct 23 17:40:25 2008
@@ -799,10 +799,9 @@
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 == []:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]