From c0650e55a6fa2aca6095b6447cab9f6a3db0c182 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Tue, 29 Apr 2008 12:09:55 +0000 Subject: [project @ fpeters@0d.be-20080406145106-b6ywyx9f53w39y0e] fixed returned list of gobject Original author: Frederic Peters Date: 2008-04-06 16:51:06.682000+02:00 --- bindings/lang_python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/lang_python.py') diff --git a/bindings/lang_python.py b/bindings/lang_python.py index 46980c61..f4f051f8 100644 --- a/bindings/lang_python.py +++ b/bindings/lang_python.py @@ -461,7 +461,7 @@ if WSF_SUPPORT: print >> fd, ' value = _lasso.%s(self._cptr%s)' % ( function_name, c_args) print >> fd, ' if value is not None:' - print >> fd, ' value = tuple([x._cptr for x in value])' + print >> fd, ' value = tuple([cptrToPy(x) for x in value])' print >> fd, ' return value' elif self.is_pygobject(m.return_type): print >> fd, ' return cptrToPy(_lasso.%s(self._cptr%s))' % ( -- cgit