summaryrefslogtreecommitdiffstats
path: root/PySide/QtWebKit
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-02-08 16:10:24 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:53:56 -0300
commitcc695f88bd82e26e957ce3633fc8d8c042a12b44 (patch)
tree042377101356b5add5274b78ea8dbc4d80f18b00 /PySide/QtWebKit
parent287fd9d6499a7bf49ba42e6491f30406ea78ac68 (diff)
Fix bug 663 - "Crash on exit when passing QNetworkAccessManager around"
Diffstat (limited to 'PySide/QtWebKit')
-rw-r--r--PySide/QtWebKit/typesystem_webkit.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/PySide/QtWebKit/typesystem_webkit.xml b/PySide/QtWebKit/typesystem_webkit.xml
index d6fc9a7b..de359bb2 100644
--- a/PySide/QtWebKit/typesystem_webkit.xml
+++ b/PySide/QtWebKit/typesystem_webkit.xml
@@ -75,6 +75,27 @@
<enum-type name="ErrorDomain"/>
<enum-type name="Extension"/>
+ <modify-function signature="setNetworkAccessManager(QNetworkAccessManager*)">
+ <modify-argument index="1">
+ <reference-count action="add"/>
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="networkAccessManager()const">
+ <modify-argument index="return">
+ <reference-count action="add" variable-name="setNetworkAccessManager(QNetworkAccessManager*)1" />
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="view()const">
+ <modify-argument index="return">
+ <define-ownership owner="default"/>
+ </modify-argument>
+ </modify-function>
+ <modify-function signature="pluginFactory()const">
+ <modify-argument index="return">
+ <define-ownership owner="default"/>
+ </modify-argument>
+ </modify-function>
+
<modify-function signature="javaScriptPrompt(QWebFrame*,const QString &amp;,const QString &amp;,QString*)">
<modify-argument index="return">
<replace-type modified-type="PyObject"/>