[vlc-commits] macosx: Remove old and dead code
David Fuhrmann
git at videolan.org
Wed Jan 6 17:38:47 CET 2016
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Wed Jan 6 15:47:06 2016 +0100| [e53fc84bb9ea0af1598ae3dc2d36f11d781bb71c] | committer: David Fuhrmann
macosx: Remove old and dead code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e53fc84bb9ea0af1598ae3dc2d36f11d781bb71c
---
modules/gui/macosx/VLCPlaylist.h | 2 --
modules/gui/macosx/VLCPlaylist.m | 36 ------------------------------------
2 files changed, 38 deletions(-)
diff --git a/modules/gui/macosx/VLCPlaylist.h b/modules/gui/macosx/VLCPlaylist.h
index 3c21d11..9a7ae48 100644
--- a/modules/gui/macosx/VLCPlaylist.h
+++ b/modules/gui/macosx/VLCPlaylist.h
@@ -52,8 +52,6 @@
- (void)playlistUpdated;
- (void)playbackModeUpdated;
-- (void)updateTogglePlaylistState;
-- (void)outlineViewSelectionDidChange:(NSNotification *)notification;
- (void)sortNode:(int)i_mode;
- (void)currentlyPlayingItemChanged;
diff --git a/modules/gui/macosx/VLCPlaylist.m b/modules/gui/macosx/VLCPlaylist.m
index da5cfa3..4fec1cb 100644
--- a/modules/gui/macosx/VLCPlaylist.m
+++ b/modules/gui/macosx/VLCPlaylist.m
@@ -219,42 +219,6 @@
[_model playbackModeUpdated];
}
-- (void)updateTogglePlaylistState
-{
- [self outlineViewSelectionDidChange: NULL];
-}
-
-- (void)outlineViewSelectionDidChange:(NSNotification *)notification
-{
-// // FIXME: unsafe
-// playlist_item_t * p_item = [[_outlineView itemAtRow:[_outlineView selectedRow]] pointerValue];
-//
-// if (p_item) {
-// /* update the state of our Reveal-in-Finder menu items */
-// NSMutableString *o_mrl;
-// char *psz_uri = input_item_GetURI(p_item->p_input);
-//
-// [o_mi_revealInFinder setEnabled: NO];
-// [o_mm_mi_revealInFinder setEnabled: NO];
-// if (psz_uri) {
-// o_mrl = [NSMutableString stringWithUTF8String: psz_uri];
-//
-// /* perform some checks whether it is a file and if it is local at all... */
-// NSRange prefix_range = [o_mrl rangeOfString: @"file:"];
-// if (prefix_range.location != NSNotFound)
-// [o_mrl deleteCharactersInRange: prefix_range];
-//
-// if ([o_mrl characterAtIndex:0] == '/') {
-// [o_mi_revealInFinder setEnabled: YES];
-// [o_mm_mi_revealInFinder setEnabled: YES];
-// }
-// free(psz_uri);
-// }
-//
-// /* update our info-panel to reflect the new item */
-// [[VLCInfo sharedInstance] updatePanelWithItem:p_item->p_input];
-// }
-}
- (BOOL)isSelectionEmpty
{
More information about the vlc-commits
mailing list