aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtGui
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-04-06 23:02:53 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:07 -0300
commitfab79738ac6644f065740ac58694d2c58ee3a9f0 (patch)
treedc0fec83d245d3e5475684c79d9e613ceebdfe12 /PySide/QtGui
parentcf905e46616b46e811925926a231bb8fa6e1ce12 (diff)
Updated type system files to use the new %BEGIN_ALLOW_THREADS and %END_ALLOW_THREADS variables.
Reviewed by Lauro Moura <lauro.neto@openbossa.org> Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'PySide/QtGui')
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index ded4c720b..7194e643c 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -5124,9 +5124,9 @@
<template name="fix_args,int*,ItemRole*">
int _row;
QFormLayout::ItemRole _role;
- PyThreadState* _save = PyEval_SaveThread(); // Py_BEGIN_ALLOW_THREADS
+ %BEGIN_ALLOW_THREADS
%CPPSELF->%FUNCTION_NAME(%ARGUMENT_NAMES, &amp;_row, &amp;_role);
- PyEval_RestoreThread(_save); // Py_END_ALLOW_THREADS
+ %END_ALLOW_THREADS
%PYARG_0 = Shiboken::makeTuple(_row, _role);
</template>