aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-11-20 12:56:18 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-11-20 12:56:18 -0300
commit3bc0d023c848be0d8e7e7337a92980647e11804a (patch)
tree933b95b79799d7b80e37a44e3b81c75d5854f981 /PySide
parent783c146766383186034d67f88ea1061f5abddaaf (diff)
Fix setContexMenu function ownership rule.
Fixes bug #441.
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtGui/typesystem_gui_common.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/PySide/QtGui/typesystem_gui_common.xml b/PySide/QtGui/typesystem_gui_common.xml
index d9f75745b..f1b5b68f2 100644
--- a/PySide/QtGui/typesystem_gui_common.xml
+++ b/PySide/QtGui/typesystem_gui_common.xml
@@ -2110,7 +2110,7 @@
<enum-type name="MessageIcon"/>
<modify-function signature="setContextMenu(QMenu*)">
<modify-argument index="1">
- <parent index="this" action="add"/>
+ <reference-count action="add"/>
</modify-argument>
</modify-function>
</object-type>