summaryrefslogtreecommitdiffstats
path: root/PySide/QtDeclarative/typesystem_declarative.xml
diff options
context:
space:
mode:
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 58bce2a..91c2e48 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, &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>