summaryrefslogtreecommitdiffstats
path: root/PySide/QtWebKit/typesystem_webkit.xml
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 20:01:04 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 20:17:24 -0200
commit23c1b92073a25e23e2c3bdb2e1a758cfbb64fe79 (patch)
treeadaee02820f58a600e178c9fa0fb7fa1a2618271 /PySide/QtWebKit/typesystem_webkit.xml
parent92dcb7ae3a92416b4129d549625eba0512e02426 (diff)
downloadpyside-23c1b92073a25e23e2c3bdb2e1a758cfbb64fe79.tar.gz
pyside-23c1b92073a25e23e2c3bdb2e1a758cfbb64fe79.tar.xz
pyside-23c1b92073a25e23e2c3bdb2e1a758cfbb64fe79.zip
Changes needed to compile PySide with libshiboken v1.0
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Lauro Moura <lauro.neto@openbossa.org>
Diffstat (limited to 'PySide/QtWebKit/typesystem_webkit.xml')
-rw-r--r--PySide/QtWebKit/typesystem_webkit.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtWebKit/typesystem_webkit.xml b/PySide/QtWebKit/typesystem_webkit.xml
index 1eebe4a..b56a909 100644
--- a/PySide/QtWebKit/typesystem_webkit.xml
+++ b/PySide/QtWebKit/typesystem_webkit.xml
@@ -39,8 +39,8 @@
<define-ownership class="target" owner="default"/>
</modify-argument>
<inject-code position="end">
- Shiboken::SbkBaseWrapper* _pyReturn = reinterpret_cast&lt;Shiboken::SbkBaseWrapper*&gt;(%PYARG_0);
- if (!_pyReturn->parentInfo)
+ SbkObject* _pyReturn = reinterpret_cast&lt;SbkObject*&gt;(%PYARG_0);
+ if (!Shiboken::Wrapper::hasParentInfo(_pyReturn))
Shiboken::setParent(%PYSELF, %PYARG_0);
</inject-code>
</modify-function>