[vlc-commits] Revert "macosx: remove callbacks in VLCMain correctly. Fixes #5427"

Felix Paul Kühne git at videolan.org
Sat Nov 12 18:28:35 CET 2011


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Nov 12 18:27:53 2011 +0100| [0c1f7a6782d1c0543c00830b53a5e4ee754d11f9] | committer: Felix Paul Kühne

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

This reverts commit f2dfc28e8b194b4f5b142cc8bfdd432ec4b1bb8f.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c1f7a6782d1c0543c00830b53a5e4ee754d11f9
---

 modules/gui/macosx/intf.m |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 6238816..21bf9d6 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1443,10 +1443,7 @@ 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