aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtDeclarative/typesystem_declarative.xml
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-12-01 17:32:48 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:56:20 -0300
commit792504f978441d0a7708ebdaabc4b4baf24fdff4 (patch)
tree07dc1b967e2434251d0d055b056e881a8b60615c /PySide/QtDeclarative/typesystem_declarative.xml
parent7b04273736e46ace2d22b568fa7ed4d23944b067 (diff)
Removed the remaining occurrences of Shiboken::makeTuple.
Diffstat (limited to 'PySide/QtDeclarative/typesystem_declarative.xml')
-rw-r--r--PySide/QtDeclarative/typesystem_declarative.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/PySide/QtDeclarative/typesystem_declarative.xml b/PySide/QtDeclarative/typesystem_declarative.xml
index 58bce2ac0..91c2e487b 100644
--- a/PySide/QtDeclarative/typesystem_declarative.xml
+++ b/PySide/QtDeclarative/typesystem_declarative.xml
@@ -104,7 +104,9 @@
%BEGIN_ALLOW_THREADS
%RETURN_TYPE ok_ = %CPPSELF.%FUNCTION_NAME(%1, %2, &amp;errorString);
%END_ALLOW_THREADS
- %PYARG_0 = Shiboken::makeTuple(ok_, errorString);
+ %PYARG_0 = PyTuple_New(2);
+ PyTuple_SET_ITEM(%PYARG_0, 0, %CONVERTTOPYTHON[%RETURN_TYPE](ok_));
+ PyTuple_SET_ITEM(%PYARG_0, 1, %CONVERTTOPYTHON[QString](errorString));
</inject-code>
</modify-function>
</object-type>