Commit 1eee419f authored by David Fuhrmann's avatar David Fuhrmann

macosx: remove unused intf_sys_t

parent 08b63669
......@@ -57,16 +57,6 @@ vout_thread_t *getVout(void);
vout_thread_t *getVoutForActiveWindow(void);
audio_output_t *getAout(void);
/*****************************************************************************
* intf_sys_t: description and status of the interface
*****************************************************************************/
struct intf_sys_t
{
/* menus handlers */
bool b_input_update;
bool b_aout_update;
bool b_vout_update;
};
/*****************************************************************************
* VLCMain interface
......
......@@ -108,29 +108,12 @@ int OpenIntf (vlc_object_t *p_this)
[VLCApplication sharedApplication];
intf_thread_t *p_intf = (intf_thread_t*) p_this;
p_intf->p_sys = malloc(sizeof(intf_sys_t));
if (p_intf->p_sys == NULL)
return VLC_ENOMEM;
memset(p_intf->p_sys, 0, sizeof(*p_intf->p_sys));
Run(p_intf);
[o_pool release];
return VLC_SUCCESS;
}
/*****************************************************************************
* CloseIntf: destroy interface
*****************************************************************************/
void CloseIntf (vlc_object_t *p_this)
{
intf_thread_t *p_intf = (intf_thread_t*) p_this;
free(p_intf->p_sys);
}
static NSLock * o_vout_provider_lock = nil;
static int WindowControl(vout_window_t *, int i_query, va_list);
......
......@@ -136,7 +136,7 @@ static const char *const itunes_list_text[] = {
vlc_module_begin()
set_description(N_("Mac OS X interface"))
set_capability("interface", 200)
set_callbacks(OpenIntf, CloseIntf)
set_callbacks(OpenIntf, NULL)
set_category(CAT_INTERFACE)
set_subcategory(SUBCAT_INTERFACE_MAIN)
cannot_unload_broken_library()
......
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