aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-14 20:40:05 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-14 20:40:05 +0000
commit8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f (patch)
treec382ddc39fdc759befd9e281bcc011e1dd579e9d /lib/python/Components/Sources
parent6f73e6abddf4170357c490966d0e1c622eb376f5 (diff)
downloadenigma2-8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f.tar.gz
enigma2-8c2a83d6b2a60b2bd408ccdc6d5afd6da506912f.zip
unlink some cyclic dependencys to get garbage collection working
Diffstat (limited to 'lib/python/Components/Sources')
-rw-r--r--lib/python/Components/Sources/Boolean.py2
-rw-r--r--lib/python/Components/Sources/Clock.py2
-rw-r--r--lib/python/Components/Sources/FrontendStatus.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Components/Sources/Boolean.py b/lib/python/Components/Sources/Boolean.py
index 97b92bc6..f2526a45 100644
--- a/lib/python/Components/Sources/Boolean.py
+++ b/lib/python/Components/Sources/Boolean.py
@@ -35,4 +35,4 @@ class Boolean(Source, object):
def destroy(self):
if self.poll_timer:
- self.poll_timer.timeout.get().remove(self.poll)
+ self.poll_timer.callback.remove(self.poll)
diff --git a/lib/python/Components/Sources/Clock.py b/lib/python/Components/Sources/Clock.py
index 60fa7ac2..5130b21d 100644
--- a/lib/python/Components/Sources/Clock.py
+++ b/lib/python/Components/Sources/Clock.py
@@ -28,4 +28,4 @@ class Clock(Source):
self.poll()
def destroy(self):
- self.clock_timer.timeout.get().remove(self.poll)
+ self.clock_timer.callback.remove(self.poll)
diff --git a/lib/python/Components/Sources/FrontendStatus.py b/lib/python/Components/Sources/FrontendStatus.py
index 141bd8a4..8e29030a 100644
--- a/lib/python/Components/Sources/FrontendStatus.py
+++ b/lib/python/Components/Sources/FrontendStatus.py
@@ -48,5 +48,5 @@ class FrontendStatus(Source):
self.poll_timer.start(self.update_interval)
def destroy(self):
- self.poll_timer.timeout.get().remove(self.updateFrontendStatus)
+ self.poll_timer.callback.remove(self.updateFrontendStatus)