[vlc-commits] macosx/library: fix runtime exception due to life cycle management

Felix Paul Kühne git at videolan.org
Fri Jan 24 18:07:13 CET 2020


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Fri Jan 24 17:14:15 2020 +0100| [497ece8b40163ac364281e22097b8676a61e41ee] | committer: Felix Paul Kühne

macosx/library: fix runtime exception due to life cycle management

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

 modules/gui/macosx/library/VLCLibraryCollectionViewItem.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/library/VLCLibraryCollectionViewItem.h b/modules/gui/macosx/library/VLCLibraryCollectionViewItem.h
index 71abe643d5..aebe9a7821 100644
--- a/modules/gui/macosx/library/VLCLibraryCollectionViewItem.h
+++ b/modules/gui/macosx/library/VLCLibraryCollectionViewItem.h
@@ -41,7 +41,7 @@ extern NSString *VLCLibraryCellIdentifier;
 @property (readwrite, assign) IBOutlet NSButton *addToPlaylistButton;
 @property (readwrite, assign) IBOutlet VLCLinearProgressIndicator *progressIndicator;
 
- at property (readwrite, assign, nonatomic) VLCMediaLibraryMediaItem *representedMediaItem;
+ at property (readwrite, retain, nonatomic) VLCMediaLibraryMediaItem *representedMediaItem;
 
 - (IBAction)playInstantly:(id)sender;
 - (IBAction)addToPlaylist:(id)sender;



More information about the vlc-commits mailing list