summaryrefslogtreecommitdiffstats
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
parent783c146766383186034d67f88ea1061f5abddaaf (diff)
downloadpyside-3bc0d023c848be0d8e7e7337a92980647e11804a.tar.gz
pyside-3bc0d023c848be0d8e7e7337a92980647e11804a.tar.xz
pyside-3bc0d023c848be0d8e7e7337a92980647e11804a.zip
Fix setContexMenu function ownership rule.
Fixes bug #441.
-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 d9f7574..f1b5b68 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>