simplify GUIcreate/createWidget, fix base class order
[enigma2.git] / lib / python / Components / VideoWindow.py
index db247980caf69e738dafd086c136bd3ffe69cc0a..88cd33f98668996030fa1408677c8258357c75bf 100644 (file)
@@ -4,9 +4,5 @@ from enigma import eVideoWidget
 class VideoWindow(GUIComponent):
        def __init__(self):
                GUIComponent.__init__(self)
-       
-       def GUIcreate(self, parent):
-               self.instance = eVideoWidget(parent)
 
-       def GUIdelete(self):
-               self.instance = None
+       GUI_WIDGET = eVideoWidget