vlc | branch: master | Marvin Scholz <[email protected]> | Wed Sep 7 11:28:58 2016 +0200| [e043f2ea2ad3811f5a877d8f98bfa79fa63eeff7] | committer: Marvin Scholz
macosx: Fix runtime error on 10.7 On 10.7 and below it's not allowed to have a weak reference to an NSWindow (and some other classes) > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e043f2ea2ad3811f5a877d8f98bfa79fa63eeff7 --- modules/gui/macosx/VLCMainWindow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/macosx/VLCMainWindow.h b/modules/gui/macosx/VLCMainWindow.h index 940b7d9..06fbc48 100644 --- a/modules/gui/macosx/VLCMainWindow.h +++ b/modules/gui/macosx/VLCMainWindow.h @@ -73,7 +73,7 @@ typedef enum { @property (readwrite, weak) IBOutlet NSButton *podcastRemoveButton; // Podcast Subscribe Window outlets -@property (readwrite, weak) IBOutlet NSWindow *podcastSubscribeWindow; +@property (readwrite) IBOutlet NSWindow *podcastSubscribeWindow; @property (readwrite, weak) IBOutlet NSTextField *podcastSubscribeTitle; @property (readwrite, weak) IBOutlet NSTextField *podcastSubscribeSubtitle; @property (readwrite, weak) IBOutlet NSTextField *podcastSubscribeUrlField; @@ -81,7 +81,7 @@ typedef enum { @property (readwrite, weak) IBOutlet NSButton *podcastSubscribeCancelButton; // Podcast Unsubscribe Window outlets -@property (readwrite, weak) IBOutlet NSWindow *podcastUnsubscribeWindow; +@property (readwrite) IBOutlet NSWindow *podcastUnsubscribeWindow; @property (readwrite, weak) IBOutlet NSTextField *podcastUnsubscirbeTitle; @property (readwrite, weak) IBOutlet NSTextField *podcastUnsubscribeSubtitle; @property (readwrite, weak) IBOutlet NSPopUpButton *podcastUnsubscribePopUpButton; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
