Commit 89b84ebe authored by Felix Paul Kühne's avatar Felix Paul Kühne

* fixed a minor 10.3.9 compatibility issue, removed some unused variables, etc. pp.

parent 6038068a
...@@ -45,8 +45,6 @@ ...@@ -45,8 +45,6 @@
NSRect o_saved_frame; NSRect o_saved_frame;
VLCWindow * o_fullscreen_window; VLCWindow * o_fullscreen_window;
NSViewAnimation * o_fullscreen_anim1;
NSViewAnimation * o_fullscreen_anim2;
NSView * o_temp_view; NSView * o_temp_view;
/* set to yes if we are fullscreen and all animations are over */ /* set to yes if we are fullscreen and all animations are over */
BOOL b_fullscreen; BOOL b_fullscreen;
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include "vout.h" #include "vout.h"
#include "embeddedwindow.h" #include "embeddedwindow.h"
#import "fspanel.h" #import "fspanel.h"
#import "controls.h"
/***************************************************************************** /*****************************************************************************
* VLCEmbeddedWindow Implementation * VLCEmbeddedWindow Implementation
...@@ -61,7 +62,6 @@ ...@@ -61,7 +62,6 @@
[o_temp_view setAutoresizingMask:NSViewHeightSizable | NSViewWidthSizable]; [o_temp_view setAutoresizingMask:NSViewHeightSizable | NSViewWidthSizable];
o_fullscreen_window = nil; o_fullscreen_window = nil;
o_fullscreen_anim1 = o_fullscreen_anim2 = nil;
/* Not fullscreen when we wake up */ /* Not fullscreen when we wake up */
[o_btn_fullscreen setState: NO]; [o_btn_fullscreen setState: NO];
...@@ -170,7 +170,6 @@ ...@@ -170,7 +170,6 @@
- (void)enterFullscreen - (void)enterFullscreen
{ {
NSMutableDictionary *dict1, *dict2;
NSScreen *screen; NSScreen *screen;
NSRect screen_rect; NSRect screen_rect;
NSRect rect; NSRect rect;
...@@ -263,9 +262,6 @@ ...@@ -263,9 +262,6 @@
- (void)leaveFullscreenAndFadeOut: (BOOL)fadeout - (void)leaveFullscreenAndFadeOut: (BOOL)fadeout
{ {
NSMutableDictionary *dict1, *dict2;
NSRect frame;
[self lockFullscreenAnimation]; [self lockFullscreenAnimation];
b_fullscreen = NO; b_fullscreen = NO;
......
...@@ -46,7 +46,7 @@ static NSMutableArray *blackoutWindows = NULL; ...@@ -46,7 +46,7 @@ static NSMutableArray *blackoutWindows = NULL;
+ (NSScreen *)screenWithDisplayID: (CGDirectDisplayID)displayID + (NSScreen *)screenWithDisplayID: (CGDirectDisplayID)displayID
{ {
int i; unsigned int i;
for( i = 0; i < [[NSScreen screens] count]; i++ ) for( i = 0; i < [[NSScreen screens] count]; i++ )
{ {
......
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