[vlc-devel] commit: macosx: don't use 10.5 only stuff within this branch ( Felix Paul Kühne )

git version control git at videolan.org
Thu Sep 11 14:32:38 CEST 2008


vlc | branch: 0.9-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Thu Sep 11 14:35:59 2008 +0200| [6de5681d35a729e0f0ffdbcdde87c2feec3f72f5] | committer: Felix Paul Kühne 

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6de5681d35a729e0f0ffdbcdde87c2feec3f72f5
---

 modules/gui/macosx/embeddedwindow.m |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/modules/gui/macosx/embeddedwindow.m b/modules/gui/macosx/embeddedwindow.m
index e5f09b5..1ecea7f 100644
--- a/modules/gui/macosx/embeddedwindow.m
+++ b/modules/gui/macosx/embeddedwindow.m
@@ -41,21 +41,6 @@
 
 @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
 {
     [self setDelegate: self];




More information about the vlc-devel mailing list