mirror of https://github.com/mpv-player/mpv
mac/app: remove unused function
This commit is contained in:
parent
4179d58389
commit
bbbd6e272c
|
@ -47,7 +47,6 @@ struct macos_opts {
|
|||
|
||||
// multithreaded wrapper for mpv_main
|
||||
int cocoa_main(int argc, char *argv[]);
|
||||
void cocoa_register_menu_item_action(MPMenuKey key, void* action);
|
||||
|
||||
extern const struct m_sub_options macos_conf;
|
||||
|
||||
|
|
|
@ -284,12 +284,6 @@ static MP_THREAD_VOID playback_thread(void *ctx_obj)
|
|||
}
|
||||
}
|
||||
|
||||
void cocoa_register_menu_item_action(MPMenuKey key, void* action)
|
||||
{
|
||||
if (application_instantiated)
|
||||
[[NSApp menuBar] registerSelector:(SEL)action forKey:key];
|
||||
}
|
||||
|
||||
static void init_cocoa_application(bool regular)
|
||||
{
|
||||
NSApp = mpv_shared_app();
|
||||
|
|
Loading…
Reference in New Issue