Commit 0c1f7a67 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Revert "macosx: remove callbacks in VLCMain correctly. Fixes #5427"

This reverts commit f2dfc28e.
parent 2961176d
...@@ -1443,10 +1443,7 @@ unsigned int CocoaKeyToVLC( unichar i_key ) ...@@ -1443,10 +1443,7 @@ unsigned int CocoaKeyToVLC( unichar i_key )
else else
{ {
if (state == END_S) if (state == END_S)
{
var_DelCallback( p_input, "intf-event", InputEvent, [VLCMain sharedInstance] );
[o_mainmenu setSubmenusEnabled: FALSE]; [o_mainmenu setSubmenusEnabled: FALSE];
}
[[self mainMenu] setPlay]; [[self mainMenu] setPlay];
[o_mainwindow setPlay]; [o_mainwindow setPlay];
} }
......
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