]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/misc.m
* intf.* : try to restore an a bit more intelligent behavior for the playlist toggle...
[vlc] / modules / gui / macosx / misc.m
index f4c2f7181cff3b54499492f58c1980118e5a03bb..a85213af28bcc98f65a1edecd75d5fa851325fa9 100644 (file)
@@ -39,8 +39,6 @@
     self = [super initWithContentRect:contentRect styleMask:styleMask //& ~NSTitledWindowMask
     backing:backingType defer:flag];
 
-    o_size_with_playlist = [self frame].size;
-
     [[VLCMain sharedInstance] updateTogglePlaylistState];
 
     return( self );
     return [[VLCMain sharedInstance] hasDefinedShortcutKey:o_event];
 }
 
-/*Stores the size the controller one resize, to be able to restore it when
-  toggling the playlist*/
-
-- (NSSize)windowWillResize:(NSWindow *)sender toSize:(NSSize)proposedFrameSize
-{
-    o_size_with_playlist = proposedFrameSize;
-
-    /*Callback to update the state of Playlist Toggle Button*/
-    [[VLCMain sharedInstance] updateTogglePlaylistState];
-
-    return proposedFrameSize;
-}
-
-- (NSSize)getSizeWithPlaylist
-{
-    return o_size_with_playlist;
-}
-
 @end