[vlc-commits] skins2: remove unused data

Rémi Denis-Courmont git at videolan.org
Mon Mar 18 22:15:27 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Mar 18 22:28:36 2013 +0200| [a5d95db03fbb8fc7c4206562c547c7fccc1e175c] | committer: Rémi Denis-Courmont

skins2: remove unused data

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

 modules/gui/skins2/src/skin_common.hpp |    3 ---
 modules/gui/skins2/src/skin_main.cpp   |   10 ----------
 2 files changed, 13 deletions(-)

diff --git a/modules/gui/skins2/src/skin_common.hpp b/modules/gui/skins2/src/skin_common.hpp
index 576ecf8..70cc385 100644
--- a/modules/gui/skins2/src/skin_common.hpp
+++ b/modules/gui/skins2/src/skin_common.hpp
@@ -108,9 +108,6 @@ struct intf_sys_t
     /// The playlist thread
     playlist_t *p_playlist;
 
-    /// Message bank subscription
-    msg_subscription_t *p_sub;
-
     // "Singleton" objects: MUST be initialized to NULL !
     /// Logger
     Logger *p_logger;
diff --git a/modules/gui/skins2/src/skin_main.cpp b/modules/gui/skins2/src/skin_main.cpp
index ea7394b..d681996 100644
--- a/modules/gui/skins2/src/skin_main.cpp
+++ b/modules/gui/skins2/src/skin_main.cpp
@@ -81,11 +81,6 @@ static int Open( vlc_object_t *p_this )
     if( p_intf->p_sys == NULL )
         return VLC_ENOMEM;
 
-    // Suscribe to messages bank
-#if 0
-    p_intf->p_sys->p_sub = vlc_Subscribe( p_intf );
-#endif
-
     p_intf->p_sys->p_input = NULL;
     p_intf->p_sys->p_playlist = pl_Get( p_intf );
 
@@ -177,11 +172,6 @@ static void Close( vlc_object_t *p_this )
     vlc_mutex_destroy( &p_intf->p_sys->init_lock );
     vlc_cond_destroy( &p_intf->p_sys->init_wait );
 
-    // Unsubscribe from messages bank
-#if 0
-    vlc_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
-#endif
-
     // Destroy structure
     free( p_intf->p_sys );
 }



More information about the vlc-commits mailing list