]> git.sesse.net Git - vlc/blobdiff - modules/gui/wince/wince.cpp
WinCE: update the use of messages subscription
[vlc] / modules / gui / wince / wince.cpp
index bcc12b97b8f286bb7362f8367d2239eabebbc9cd..939fa3ea335fa798c4b481495a584c62c7823051 100644 (file)
@@ -116,8 +116,6 @@ static int Open( vlc_object_t *p_this )
     if( p_intf->p_sys == NULL )
         return VLC_ENOMEM;
 
-    // Suscribe to messages bank
-    p_intf->p_sys->p_sub = msg_Subscribe( p_intf );
 
     // Misc init
     p_intf->p_sys->p_audio_menu = NULL;
@@ -179,9 +177,6 @@ static void Close( vlc_object_t *p_this )
         vlc_thread_join( p_intf );
     }
 
-    // Unsuscribe to messages bank
-    msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
-
     // Destroy structure
     free( p_intf->p_sys );
 }