[vlc-devel] commit: skins2: remove unneeded code (already inherited from base class) ( Erwan Tulou )

git version control git at videolan.org
Sun Jun 28 21:59:23 CEST 2009


vlc | branch: 1.0-bugfix | Erwan Tulou <erwan10 at videolan.org> | Sat Jun 27 07:35:06 2009 +0200| [944d46c46b11e6f20ca6f1a4c210aaf3297c7c76] | committer: Erwan Tulou 

skins2: remove unneeded code (already inherited from base class)
(cherry picked from commit af7bad86161fb3022bbe00c600b3131f1f6de377)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=944d46c46b11e6f20ca6f1a4c210aaf3297c7c76
---

 modules/gui/skins2/controls/ctrl_video.cpp |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/modules/gui/skins2/controls/ctrl_video.cpp b/modules/gui/skins2/controls/ctrl_video.cpp
index f8083d3..ee7b883 100644
--- a/modules/gui/skins2/controls/ctrl_video.cpp
+++ b/modules/gui/skins2/controls/ctrl_video.cpp
@@ -45,10 +45,6 @@ CtrlVideo::CtrlVideo( intf_thread_t *pIntf, GenericLayout &rLayout,
         VarBox &rVoutSize = VlcProc::instance( pIntf )->getVoutSizeVar();
         rVoutSize.addObserver( this );
     }
-
-    // observe visibility variable
-    if( m_pVisible )
-        m_pVisible->addObserver( this );
 }
 
 
@@ -58,9 +54,6 @@ CtrlVideo::~CtrlVideo()
     rVoutSize.delObserver( this );
 
     //m_pLayout->getActiveVar().delObserver( this );
-
-    if( m_pVisible )
-        m_pVisible->delObserver( this );
 }
 
 




More information about the vlc-devel mailing list