From 03ba016ded2965e4b44a96f53580f49a1bfa3c01 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 17 Mar 2009 20:59:49 +0200 Subject: [PATCH] Remove intf_thread_t.change_lock --- include/vlc_interface.h | 2 -- src/interface/interface.c | 4 ---- 2 files changed, 6 deletions(-) diff --git a/include/vlc_interface.h b/include/vlc_interface.h index 7fc6c0879a..5b63ae5d26 100644 --- a/include/vlc_interface.h +++ b/include/vlc_interface.h @@ -66,8 +66,6 @@ struct intf_thread_t void ( *pf_show_dialog ) ( intf_thread_t *, int, int, intf_dialog_args_t * ); - vlc_mutex_t change_lock; - config_chain_t *p_cfg; }; diff --git a/src/interface/interface.c b/src/interface/interface.c index ca4ae334d8..c48986a1f6 100644 --- a/src/interface/interface.c +++ b/src/interface/interface.c @@ -69,7 +69,6 @@ static void intf_Destroy( vlc_object_t *obj ) free( p_intf->psz_intf ); config_ChainDestroy( p_intf->p_cfg ); - vlc_mutex_destroy( &p_intf->change_lock ); } @@ -112,9 +111,6 @@ intf_thread_t* __intf_Create( vlc_object_t *p_this, const char *psz_module ) return NULL; } - /* Initialize mutexes */ - vlc_mutex_init( &p_intf->change_lock ); - /* Attach interface to its parent object */ vlc_object_attach( p_intf, p_this ); vlc_object_set_destructor( p_intf, intf_Destroy ); -- 2.39.2