Commit 6de5681d authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: don't use 10.5 only stuff within this branch

parent 31aeec94
...@@ -41,21 +41,6 @@ ...@@ -41,21 +41,6 @@
@implementation VLCEmbeddedWindow @implementation VLCEmbeddedWindow
- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
{
if(MACOS_VERSION < 10.5f)
return [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation];
#ifdef __ppc__
return [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation];
#endif
windowStyle ^= NSTexturedBackgroundWindowMask;
self = [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation];
[self setContentBorderThickness:32.0 forEdge:NSMinYEdge];
return self;
}
- (void)awakeFromNib - (void)awakeFromNib
{ {
[self setDelegate: self]; [self setDelegate: self];
......
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