summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2010-11-30 10:30:55 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2010-12-01 11:08:28 -0300
commit9e26b5f39d2d966da93f7bb835b09485a1ec5c83 (patch)
treed651e1174f10a522adf83b22b023cb06ab06050e
parent113b8efdafaa3d317a18d96dafae6298022c9c11 (diff)
downloadpyside-9e26b5f39d2d966da93f7bb835b09485a1ec5c83.tar.gz
pyside-9e26b5f39d2d966da93f7bb835b09485a1ec5c83.tar.xz
pyside-9e26b5f39d2d966da93f7bb835b09485a1ec5c83.zip
Add needed cast to compile using python versions <2.6
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Marcelo Lira <marcelo.lira@openbossa.org>
-rw-r--r--PySide/phonon/typesystem_phonon.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/phonon/typesystem_phonon.xml b/PySide/phonon/typesystem_phonon.xml
index 16dd72c..226560e 100644
--- a/PySide/phonon/typesystem_phonon.xml
+++ b/PySide/phonon/typesystem_phonon.xml
@@ -87,11 +87,11 @@
signal_item = PySide::Signal::newObject("capabilitiesChanged", "void", NULL);
PyDict_SetItemString(Sbk_Phonon_BackendCapabilities_NotifierWrapper_Type.super.ht_type.tp_dict, "capabilitiesChanged", (PyObject*)signal_item);
- Py_DECREF(signal_item);
+ Py_DECREF((PyObject*)signal_item);
signal_item = PySide::Signal::newObject("availableAudioOutputDevicesChanged", "void", NULL);
PyDict_SetItemString( Sbk_Phonon_BackendCapabilities_NotifierWrapper_Type.super.ht_type.tp_dict, "availableAudioOutputDevicesChanged", (PyObject*)signal_item);
- Py_DECREF(signal_item);
+ Py_DECREF((PyObject*)signal_item);
</inject-code>
</object-type>
</namespace-type>