X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2FMainWindow.m;h=fa308f20d9578b1569186475802d87d883f872d4;hb=4e84f81bacc8c682b2f0c19224531b522346dfdc;hp=0b8d3a29953c076eb533eaa2bbb1390ba2253ca2;hpb=a3be47c3a066d721b2dd5192b1894dc31efc2834;p=vlc diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m index 0b8d3a2995..fa308f20d9 100644 --- a/modules/gui/macosx/MainWindow.m +++ b/modules/gui/macosx/MainWindow.m @@ -80,7 +80,7 @@ static VLCMainWindow *_o_sharedInstance = nil; [self setMovableByWindowBackground: YES]; /* we don't want this window to be restored on relaunch */ - if ([self respondsToSelector:@selector(setRestorable:)]) + if (OSX_LION) [self setRestorable:NO]; return self; @@ -742,8 +742,6 @@ static VLCMainWindow *_o_sharedInstance = nil; [self setRepresentedURL: nil]; } - [o_sidebar_view reloadData]; - [o_pool release]; }