summaryrefslogtreecommitdiffstats
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>2011-02-09 18:26:55 -0200
commit7fd8eba1360975884c43164577e4e25635dc530a (patch)
tree37ac7ae9f640957afa7a5bd7758e7544e917d07b
parent95d546696e76cd631129e2a41ed13d77896906e7 (diff)
downloadpyside-7fd8eba1360975884c43164577e4e25635dc530a.tar.gz
pyside-7fd8eba1360975884c43164577e4e25635dc530a.tar.xz
pyside-7fd8eba1360975884c43164577e4e25635dc530a.zip
Fix bug 663 - "Crash on exit when passing QNetworkAccessManager around"
-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 d6fc9a7..de359bb 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"/>