[vlc-commits] macosx: playlist: remove unused _other outlets
David Fuhrmann
git at videolan.org
Wed Nov 12 11:32:31 CET 2014
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Tue Nov 11 13:14:18 2014 +0100| [0dc09ccb7b7d6bf9dff26e4394c9bc9b604672c5] | committer: David Fuhrmann
macosx: playlist: remove unused _other outlets
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0dc09ccb7b7d6bf9dff26e4394c9bc9b604672c5
---
modules/gui/macosx/playlist.h | 5 -----
modules/gui/macosx/playlist.m | 20 --------------------
2 files changed, 25 deletions(-)
diff --git a/modules/gui/macosx/playlist.h b/modules/gui/macosx/playlist.h
index 07bb518..63a8941 100644
--- a/modules/gui/macosx/playlist.h
+++ b/modules/gui/macosx/playlist.h
@@ -52,11 +52,6 @@
{
IBOutlet VLCPlaylistView* o_outline_view;
- IBOutlet id o_tc_name_other;
- IBOutlet id o_tc_author_other;
- IBOutlet id o_tc_duration_other;
- IBOutlet VLCPlaylistView* o_outline_view_other;
-
NSMutableDictionary *o_outline_dict;
}
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 38643c4..80e911a 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -159,15 +159,6 @@
[o_outline_view setAllowsEmptySelection: NO];
[o_outline_view expandItem: [o_outline_view itemAtRow:0]];
- [o_outline_view_other setTarget: self];
- [o_outline_view_other setDelegate: self];
- [o_outline_view_other setDataSource: self];
- [o_outline_view_other setAllowsEmptySelection: NO];
-
- [[o_tc_name_other headerCell] setStringValue:_NS("Name")];
- [[o_tc_author_other headerCell] setStringValue:_NS("Author")];
- [[o_tc_duration_other headerCell] setStringValue:_NS("Duration")];
-
[self reloadStyles];
}
@@ -175,7 +166,6 @@
{
p_current_root_item = root_item;
[o_outline_view reloadData];
- [o_outline_view_other reloadData];
}
- (playlist_item_t *)currentPlaylistRoot
@@ -211,12 +201,6 @@
for (NSUInteger x = 0; x < count; x++)
[[[columns objectAtIndex:x] dataCell] setFont:fontToUse];
[o_outline_view setRowHeight:rowHeight];
-
- columns = [o_outline_view_other tableColumns];
- count = columns.count;
- for (NSUInteger x = 0; x < count; x++)
- [[[columns objectAtIndex:x] dataCell] setFont:fontToUse];
- [o_outline_view_other setRowHeight:rowHeight];
}
- (void)dealloc {
@@ -525,14 +509,10 @@
[self initStrings];
[o_outline_view setDoubleAction: @selector(playItem:)];
- [o_outline_view_other setDoubleAction: @selector(playItem:)];
[o_outline_view registerForDraggedTypes: [NSArray arrayWithObjects:NSFilenamesPboardType, @"VLCPlaylistItemPboardType", nil]];
[o_outline_view setIntercellSpacing: NSMakeSize (0.0, 1.0)];
- [o_outline_view_other registerForDraggedTypes: [NSArray arrayWithObjects:NSFilenamesPboardType, @"VLCPlaylistItemPboardType", nil]];
- [o_outline_view_other setIntercellSpacing: NSMakeSize (0.0, 1.0)];
-
/* This uses a private API, but works fine on all current OSX releases.
* Radar ID 11739459 request a public API for this. However, it is probably
* easier and faster to recreate similar looking bitmaps ourselves. */
More information about the vlc-commits
mailing list