[vlc-commits] macosx: remove callbacks in VLCMain correctly. Fixes #5427
Felix Paul Kühne
git at videolan.org
Sat Oct 15 16:57:19 CEST 2011
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Oct 15 16:57:09 2011 +0200| [f2dfc28e8b194b4f5b142cc8bfdd432ec4b1bb8f] | committer: Felix Paul Kühne
macosx: remove callbacks in VLCMain correctly. Fixes #5427
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2dfc28e8b194b4f5b142cc8bfdd432ec4b1bb8f
---
modules/gui/macosx/intf.m | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index f6eea48..c69633d 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1440,7 +1440,10 @@ unsigned int CocoaKeyToVLC( unichar i_key )
else
{
if (state == END_S)
+ {
+ var_DelCallback( p_input, "intf-event", InputEvent, [VLCMain sharedInstance] );
[o_mainmenu setSubmenusEnabled: FALSE];
+ }
[[self mainMenu] setPlay];
[o_mainwindow setPlay];
}
More information about the vlc-commits
mailing list