vlc | branch: master | David Fuhrmann <[email protected]> | Sun Jul  2 
16:48:58 2017 +0200| [76f5f27d473db0869a7cfe6fd6e43b3228e2af79] | committer: 
David Fuhrmann

macosx: do not store preferences controller in weak outlet

This will crash at runtime on 10.7.

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

 modules/gui/macosx/prefs.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/prefs.m b/modules/gui/macosx/prefs.m
index 449857fd33..aa167f0621 100644
--- a/modules/gui/macosx/prefs.m
+++ b/modules/gui/macosx/prefs.m
@@ -87,7 +87,7 @@
     NSMutableArray *_options;
     NSMutableArray *_subviews;
 }
-@property (readwrite, weak) VLCPrefs *prefsViewController;
+@property (readwrite, unsafe_unretained) VLCPrefs *prefsViewController;
 
 - (id)initWithName:(NSString*)name;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to