macosx: Correct camel case method name
authorMarvin Scholz <epirat07@gmail.com>
Mon, 7 Aug 2017 19:17:14 +0000 (21:17 +0200)
committerMarvin Scholz <epirat07@gmail.com>
Tue, 8 Aug 2017 22:22:05 +0000 (00:22 +0200)
modules/gui/macosx/VLCVoutWindowController.h
modules/gui/macosx/VLCVoutWindowController.m

index d7b7f9a..cd0fdd9 100644 (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;
index df35ca0..6460bf3 100644 (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) {