[vlc-commits] macosx: allow the user to hide the sidebar (close #6088)

Felix Paul Kühne git at videolan.org
Sun Mar 4 13:08:37 CET 2012


vlc/vlc-2.0 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sun Mar  4 13:08:11 2012 +0100| [11743cc8707ccaf3525000fc40f5cdecb542da30] | committer: Felix Paul Kühne

macosx: allow the user to hide the sidebar (close #6088)
(cherry picked from commit 8f813fc43ae83fa0d04d591a1f3c6b02b1d288e5)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=11743cc8707ccaf3525000fc40f5cdecb542da30
---

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

diff --git a/modules/gui/macosx/MainWindow.m b/modules/gui/macosx/MainWindow.m
index 2802a30..d14dbff 100644
--- a/modules/gui/macosx/MainWindow.m
+++ b/modules/gui/macosx/MainWindow.m
@@ -1972,14 +1972,6 @@ static VLCMainWindow *_o_sharedInstance = nil;
 
 #pragma mark -
 #pragma mark split view delegate
-- (CGFloat)splitView:(NSSplitView *)splitView constrainMinCoordinate:(CGFloat)proposedMin ofSubviewAt:(NSInteger)dividerIndex
-{
-    if (dividerIndex == 0)
-        return 200.0;
-    else
-        return proposedMin;
-}
-
 - (CGFloat)splitView:(NSSplitView *)splitView constrainMaxCoordinate:(CGFloat)proposedMax ofSubviewAt:(NSInteger)dividerIndex
 {
     if (dividerIndex == 0)



More information about the vlc-commits mailing list