macosx: Correct camel case method name

This commit is contained in:
Marvin Scholz 2017-08-07 21:17:14 +02:00
parent 8edfb2a1ba
commit 71cbd6706d
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@
@property (readonly, nonatomic) NSInteger currentStatusWindowLevel;
- (VLCVoutView *)setupVoutForWindow:(vout_window_t *)p_wnd withProposedVideoViewPosition:(NSRect)videoViewPosition;
- (void)removeVoutforDisplay:(NSValue *)o_key;
- (void)removeVoutForDisplay:(NSValue *)o_key;
- (void)setNativeVideoSize:(NSSize)size forWindow:(vout_window_t *)p_wnd;
- (void)setWindowLevel:(NSInteger)i_level forWindow:(vout_window_t *)p_wnd;
- (void)setFullscreen:(int)i_full forWindow:(vout_window_t *)p_wnd withAnimation:(BOOL)b_animation;

View File

@ -177,7 +177,7 @@ void WindowClose(vout_window_t *p_wnd)
[voutController.lock lock];
dispatch_async(dispatch_get_main_queue(), ^{
[voutController removeVoutforDisplay:[NSValue valueWithPointer:p_wnd]];
[voutController removeVoutForDisplay:[NSValue valueWithPointer:p_wnd]];
});
[voutController.lock unlock];
}
@ -217,7 +217,7 @@ void WindowClose(vout_window_t *p_wnd)
{
NSArray *keys = [voutWindows allKeys];
for (NSValue *key in keys)
[self removeVoutforDisplay:key];
[self removeVoutForDisplay:key];
if (var_InheritBool(getIntf(), "macosx-dim-keyboard")) {
[keyboardBacklight switchLightsInstantly:YES];
@ -397,7 +397,7 @@ void WindowClose(vout_window_t *p_wnd)
return voutView;
}
- (void)removeVoutforDisplay:(NSValue *)o_key
- (void)removeVoutForDisplay:(NSValue *)o_key
{
VLCVideoWindowCommon *o_window = [voutWindows objectForKey:o_key];
if (!o_window) {