[vlc-devel] [PATCH 4/5] macosx: Correct camel case method name

Marvin Scholz epirat07 at gmail.com
Mon Aug 7 21:57:08 CEST 2017


---
 modules/gui/macosx/VLCVoutWindowController.h | 2 +-
 modules/gui/macosx/VLCVoutWindowController.m | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/gui/macosx/VLCVoutWindowController.h b/modules/gui/macosx/VLCVoutWindowController.h
index d7b7f9abac..cd0fdd9469 100644
--- a/modules/gui/macosx/VLCVoutWindowController.h
+++ b/modules/gui/macosx/VLCVoutWindowController.h
@@ -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;
diff --git a/modules/gui/macosx/VLCVoutWindowController.m b/modules/gui/macosx/VLCVoutWindowController.m
index df35ca0b85..6460bf3d02 100644
--- a/modules/gui/macosx/VLCVoutWindowController.m
+++ b/modules/gui/macosx/VLCVoutWindowController.m
@@ -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)dealloc
 {
     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 @@ - (VLCVoutView *)setupVoutForWindow:(vout_window_t *)p_wnd withProposedVideoView
     return voutView;
 }
 
-- (void)removeVoutforDisplay:(NSValue *)o_key
+- (void)removeVoutForDisplay:(NSValue *)o_key
 {
     VLCVideoWindowCommon *o_window = [voutWindows objectForKey:o_key];
     if (!o_window) {
-- 
2.11.0 (Apple Git-81)



More information about the vlc-devel mailing list