aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-12-11 12:20:36 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-12-11 12:20:36 +0100
commit83e780aa14c8f51c89ff80c7ac2b67de5b8dc3b8 (patch)
tree548d426f9c6ed06de3403d589932eaaaabb805e7 /lib
parent59fb353ca955f4d6806938fccbe3100cee86b902 (diff)
parentfe4e69236a090ad6c0e125814313f275d2716b53 (diff)
downloadenigma2-83e780aa14c8f51c89ff80c7ac2b67de5b8dc3b8.tar.gz
enigma2-83e780aa14c8f51c89ff80c7ac2b67de5b8dc3b8.zip
Merge branch 'master' into experimental
Diffstat (limited to 'lib')
-rw-r--r--lib/gui/elistboxcontent.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp
index 1dc4f48c..ba0794e7 100644
--- a/lib/gui/elistboxcontent.cpp
+++ b/lib/gui/elistboxcontent.cpp
@@ -501,6 +501,7 @@ eListboxPythonMultiContent::~eListboxPythonMultiContent()
{
Py_XDECREF(m_buildFunc);
Py_XDECREF(m_selectableFunc);
+ Py_XDECREF(m_template);
}
void eListboxPythonMultiContent::setSelectionClip(eRect &rect, bool update)
@@ -1159,5 +1160,7 @@ void eListboxPythonMultiContent::entryRemoved(int idx)
void eListboxPythonMultiContent::setTemplate(ePyObject tmplate)
{
+ Py_XDECREF(m_template);
m_template = tmplate;
+ Py_XINCREF(m_template);
}