Commit 4a0cc5f3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Hildon UI: remove dummy lock acquisition

parent a640cc72
......@@ -53,10 +53,7 @@ gboolean delete_event_cb( GtkWidget *widget,
(void)event; (void)user_data;
intf_thread_t *p_intf = get_intf_from_widget( widget );
vlc_mutex_lock( &p_intf->change_lock );
libvlc_Quit( p_intf->p_libvlc );
vlc_mutex_unlock( &p_intf->change_lock );
gtk_main_quit();
return TRUE;
......
......@@ -90,12 +90,10 @@ void delete_input( intf_thread_t *p_intf )
void item_changed_pl( intf_thread_t *p_intf )
{
vlc_mutex_lock( &p_intf->change_lock );
if( p_intf->p_sys->p_input &&
( p_intf->p_sys->p_input->b_dead || p_intf->p_sys->p_input->b_die ) )
{
delete_input( p_intf );
vlc_mutex_unlock( &p_intf->change_lock );
return;
}
......@@ -103,7 +101,6 @@ void item_changed_pl( intf_thread_t *p_intf )
{
set_input( p_intf, playlist_CurrentInput( p_intf->p_sys->p_playlist ) );
}
vlc_mutex_unlock( &p_intf->change_lock );
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment