[vlc-commits] [Git][videolan/vlc][master] macosx: Fix compile-time warnings
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Tue Sep 6 12:33:42 UTC 2022
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
b300f7d0 by Claudio Cambra at 2022-09-06T12:00:35+00:00
macosx: Fix compile-time warnings
Signed-off-by: Claudio Cambra <claudio.cambra at gmail.com>
- - - - -
3 changed files:
- modules/gui/macosx/library/VLCLibraryDataTypes.h
- modules/gui/macosx/main/VLCMain.m
- modules/gui/macosx/media-source/VLCMediaSourceBaseDataSource.m
Changes:
=====================================
modules/gui/macosx/library/VLCLibraryDataTypes.h
=====================================
@@ -115,7 +115,6 @@ extern const long long int VLCMediaLibraryMediaItemDurationDenominator;
@protocol VLCMediaLibraryAudioGroupProtocol <VLCMediaLibraryItemProtocol>
- at property (readonly) unsigned int numberOfAlbums;
@property (readonly) unsigned int numberOfTracks;
@property (readonly) NSArray <VLCMediaLibraryArtist *> *artists;
@property (readonly) NSArray <VLCMediaLibraryAlbum *> *albums;
=====================================
modules/gui/macosx/main/VLCMain.m
=====================================
@@ -113,7 +113,6 @@ NSString *VLCConfigurationChangedNotification = @"VLCConfigurationChangedNotific
VLCAudioEffectsWindowController *_audioEffectsPanel;
VLCVideoEffectsWindowController *_videoEffectsPanel;
VLCConvertAndSaveWindowController *_convertAndSaveWindow;
- VLCLibraryWindowController *_libraryWindowController;
VLCClickerManager *_clickerManager;
bool _interfaceIsTerminating; /* Makes sure applicationWillTerminate will be called only once */
@@ -423,11 +422,6 @@ static VLCMain *sharedInstance = nil;
return _mainmenu;
}
-- (VLCLibraryWindowController *)libraryWindowController
-{
- return _libraryWindowController;
-}
-
- (VLCLibraryWindow *)libraryWindow
{
return (VLCLibraryWindow *)_libraryWindowController.window;
=====================================
modules/gui/macosx/media-source/VLCMediaSourceBaseDataSource.m
=====================================
@@ -138,7 +138,7 @@ NSString *VLCMediaSourceTableViewCellIdentifier = @"VLCMediaSourceTableViewCellI
{
_mediaSourceMode = mediaSourceMode;
[self loadMediaSources];
- [self homeButtonAction:nil];
+ [self homeButtonAction:self];
}
#pragma mark - collection view data source
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b300f7d010451f7835b6a1a478d857cbf1b70f1c
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b300f7d010451f7835b6a1a478d857cbf1b70f1c
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list