aboutsummaryrefslogtreecommitdiffstats
path: root/PySide/QtCore
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-06-14 14:59:26 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-06-14 15:15:47 -0300
commit569d1ab60e9b2227b2f4ed407718d17cc179d265 (patch)
treefa1e9a335c6c0b0101462a11a42659800ea08a4d /PySide/QtCore
parent4284ae6cc69f6281140d960cfd6d62a94066bf36 (diff)
Fixed parent function return ownership.
Fixed QMainWindow functions ownership. Fixes #241. Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/QtCore')
-rw-r--r--PySide/QtCore/typesystem_core.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/PySide/QtCore/typesystem_core.xml b/PySide/QtCore/typesystem_core.xml
index 85694e4ec..7249338d1 100644
--- a/PySide/QtCore/typesystem_core.xml
+++ b/PySide/QtCore/typesystem_core.xml
@@ -1049,6 +1049,9 @@
<modify-argument index="this">
<parent index="return" action="add"/>
</modify-argument>
+ <modify-argument index="return">
+ <define-ownership class="target" owner="default"/>
+ </modify-argument>
</modify-function>
<modify-function signature="setParent(QObject*)">
<modify-argument index="this">