[vlc-devel] commit: macosx: This fixes running VLC on PPC and reverts [ 5c0c38f4973b0a8100348b541dd81fd146444d2a]. Too bad, but we cannot account for every interface change that Apple makes if it starts crashing our application on PPC . (Derk-Jan Hartman )
git version control
git at videolan.org
Mon Aug 25 21:57:45 CEST 2008
vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Mon Aug 25 21:59:00 2008 +0200| [01b847b27ab06a8c78c89cdf70d06c7c99982b59] | committer: Derk-Jan Hartman
macosx: This fixes running VLC on PPC and reverts [5c0c38f4973b0a8100348b541dd81fd146444d2a]. Too bad, but we cannot account for every interface change that Apple makes if it starts crashing our application on PPC.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=01b847b27ab06a8c78c89cdf70d06c7c99982b59
---
modules/gui/macosx/embeddedwindow.m | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/modules/gui/macosx/embeddedwindow.m b/modules/gui/macosx/embeddedwindow.m
index 7559d87..1ecea7f 100644
--- a/modules/gui/macosx/embeddedwindow.m
+++ b/modules/gui/macosx/embeddedwindow.m
@@ -41,22 +41,6 @@
@implementation VLCEmbeddedWindow
-- (id)initWithContentRect:(NSRect)contentRect styleMask:(unsigned int)windowStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)deferCreation
-{
- BOOL useTextured = YES;
- if([[NSWindow class] instancesRespondToSelector:@selector(setContentBorderThickness:forEdge:)])
- {
- useTextured = NO;
- windowStyle ^= NSTexturedBackgroundWindowMask;
- }
- self = [super initWithContentRect:contentRect styleMask:windowStyle backing:bufferingType defer:deferCreation];
- if(!useTextured)
- {
- [self setContentBorderThickness:32.0 forEdge:NSMinYEdge];
- }
- return self;
-}
-
- (void)awakeFromNib
{
[self setDelegate: self];
More information about the vlc-devel
mailing list