X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fgui%2Fmacosx%2Fmisc.m;fp=modules%2Fgui%2Fmacosx%2Fmisc.m;h=347148ba5dd67f44da97fe3709bf444b70473613;hb=2c1b14a00d3519e305f608dcf3cba0a96ba270cc;hp=25520094a53901dd5f6665448182f6ec4a01e2dc;hpb=74ffc974d256d2a7371a1010c9d7e1c9b1cabaad;p=vlc diff --git a/modules/gui/macosx/misc.m b/modules/gui/macosx/misc.m index 25520094a5..347148ba5d 100644 --- a/modules/gui/macosx/misc.m +++ b/modules/gui/macosx/misc.m @@ -1,7 +1,7 @@ /***************************************************************************** * misc.m: code not specific to vlc ***************************************************************************** - * Copyright (C) 2003-2008 the VideoLAN team + * Copyright (C) 2003-2009 the VideoLAN team * $Id$ * * Authors: Jon Lech Johansen @@ -248,7 +248,7 @@ static NSMutableArray *blackoutWindows = NULL; { NSInvocation *invoc; - if (!animate || MACOS_VERSION < 10.4f) + if (!animate) { [super close]; return; @@ -280,7 +280,7 @@ static NSMutableArray *blackoutWindows = NULL; NSViewAnimation *current_anim; NSMutableDictionary *dict; - if (!animate || MACOS_VERSION < 10.4f) + if (!animate) { [self orderOut: sender]; return; @@ -329,7 +329,7 @@ static NSMutableArray *blackoutWindows = NULL; NSViewAnimation *current_anim; NSMutableDictionary *dict; - if (!animate || MACOS_VERSION < 10.4f) + if (!animate) { [super orderFront: sender]; [self setAlphaValue: 1.0];