[vlc-commits] macosx: Add missing super awakeFromNib call

Marvin Scholz git at videolan.org
Mon Jul 31 18:12:30 CEST 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Jul 27 13:10:18 2017 +0200| [73c8dce22a0ef326c750db3148d53e81340120df] | committer: Marvin Scholz

macosx: Add missing super awakeFromNib call

The docs for awakeFromNib say that super has to be called when
overriding awakeFromNib, this was not done in the VLCControlsBarCommon.
It should not make any difference though in this case.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=73c8dce22a0ef326c750db3148d53e81340120df
---

 modules/gui/macosx/VLCControlsBarCommon.m | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/macosx/VLCControlsBarCommon.m b/modules/gui/macosx/VLCControlsBarCommon.m
index 4b035aa0a1..9c7344a458 100644
--- a/modules/gui/macosx/VLCControlsBarCommon.m
+++ b/modules/gui/macosx/VLCControlsBarCommon.m
@@ -54,6 +54,8 @@
 
 - (void)awakeFromNib
 {
+    [super awakeFromNib];
+    
     _darkInterface = var_InheritBool(getIntf(), "macosx-interfacestyle");
     _nativeFullscreenMode = var_InheritBool(getIntf(), "macosx-nativefullscreenmode");
 



More information about the vlc-commits mailing list