Commit af197084 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: remove outdated code

parent fd8502ce
...@@ -60,7 +60,6 @@ ...@@ -60,7 +60,6 @@
+ (VLAboutBox *)sharedInstance; + (VLAboutBox *)sharedInstance;
- (void)showAbout; - (void)showAbout;
- (void)VLCWillTerminate;
- (void)showHelp; - (void)showHelp;
- (IBAction)showGPL:(id)sender; - (IBAction)showGPL:(id)sender;
- (IBAction)helpGoHome:(id)sender; - (IBAction)helpGoHome:(id)sender;
......
...@@ -82,12 +82,6 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -82,12 +82,6 @@ static VLAboutBox *_o_sharedInstance = nil;
{ {
if(! b_isSetUp ) if(! b_isSetUp )
{ {
/* we want to know when VLC wants to quit to prevent a crash while scrolling our credits */
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(VLCWillTerminate)
name: NSApplicationWillTerminateNotification
object: nil];
/* Get the localized info dictionary (InfoPlist.strings) */ /* Get the localized info dictionary (InfoPlist.strings) */
NSDictionary *o_local_dict; NSDictionary *o_local_dict;
o_local_dict = [[NSBundle mainBundle] localizedInfoDictionary]; o_local_dict = [[NSBundle mainBundle] localizedInfoDictionary];
...@@ -194,12 +188,6 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -194,12 +188,6 @@ static VLAboutBox *_o_sharedInstance = nil;
} }
} }
- (void)VLCWillTerminate
{
[o_scroll_timer invalidate];
[[NSNotificationCenter defaultCenter] removeObserver: self];
}
/***************************************************************************** /*****************************************************************************
* VLC GPL Window, action called from the about window and the help menu * VLC GPL Window, action called from the about window and the help menu
*****************************************************************************/ *****************************************************************************/
......
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