]> git.sesse.net Git - vlc/blobdiff - modules/gui/pda/pda.c
PDA GTK: remove dummy locking
[vlc] / modules / gui / pda / pda.c
index 109cb18c88dd1fe1c5201342870fbf795ccf75eb..6b7bb03fed6dd51af02175135bcfb609b8dad744 100644 (file)
@@ -397,7 +397,6 @@ void GtkAutoPlayFile( vlc_object_t *p_this )
 static int Manage( intf_thread_t *p_intf )
 {
     GtkListStore *p_liststore;
-    vlc_mutex_lock( &p_intf->change_lock );
 
     /* Update the input */
     if( p_intf->p_sys->p_input == NULL )
@@ -522,8 +521,6 @@ static int Manage( intf_thread_t *p_intf )
 #ifndef NEED_GTK2_MAIN
     if( !vlc_object_alive( p_intf ) )
     {
-        vlc_mutex_unlock( &p_intf->change_lock );
-
         /* Prepare to die, young Skywalker */
         gtk_main_quit();
 
@@ -531,8 +528,6 @@ static int Manage( intf_thread_t *p_intf )
     }
 #endif
 
-    vlc_mutex_unlock( &p_intf->change_lock );
-
     return TRUE;
 }