corret use for getCurrent method
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 11 Nov 2005 15:15:45 +0000 (15:15 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 11 Nov 2005 15:15:45 +0000 (15:15 +0000)
lib/python/Components/EpgList.py

index 5fa5476..5628258 100644 (file)
@@ -9,9 +9,8 @@ class EPGList(HTMLComponent, GUIComponent):
                self.l = eListboxEPGContent()
 
        def getCurrent(self):
                self.l = eListboxEPGContent()
 
        def getCurrent(self):
-               r = eServiceEventPtr()
-               self.l.getCurrent(r)
-               return r
+               evt = self.l.getCurrent()
+               return evt
 
        def moveUp(self):
                self.instance.moveSelection(self.instance.moveUp)
 
        def moveUp(self):
                self.instance.moveSelection(self.instance.moveUp)