[vlc-commits] macosx: add missing selector declarations and more cleanup
Felix Paul Kühne
git at videolan.org
Sat Jun 9 18:53:11 CEST 2018
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Sat Jun 9 17:55:00 2018 +0200| [47c81aff1ca2d396ccbb0366b537d54bdd50b0f2] | committer: Felix Paul Kühne
macosx: add missing selector declarations and more cleanup
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=47c81aff1ca2d396ccbb0366b537d54bdd50b0f2
---
modules/gui/macosx/VLCOutput.h | 2 --
modules/gui/macosx/VLCPLModel.m | 25 ++++++++++++++++---------
modules/gui/macosx/prefs_widgets.m | 1 -
3 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/modules/gui/macosx/VLCOutput.h b/modules/gui/macosx/VLCOutput.h
index 0af25488fe..7b63f03ecd 100644
--- a/modules/gui/macosx/VLCOutput.h
+++ b/modules/gui/macosx/VLCOutput.h
@@ -88,6 +88,4 @@
- (IBAction)transcodeInfoChanged:(id)object;
- (IBAction)announceChanged:(id)sender;
-- (IBAction)streamTTLStepperChanged:(id)sender;
-
@end
diff --git a/modules/gui/macosx/VLCPLModel.m b/modules/gui/macosx/VLCPLModel.m
index 07f8a59e50..320473325f 100644
--- a/modules/gui/macosx/VLCPLModel.m
+++ b/modules/gui/macosx/VLCPLModel.m
@@ -42,6 +42,22 @@
#include <vlc_input.h>
#include <vlc_url.h>
+ at interface VLCPLModel ()
+{
+ playlist_t *p_playlist;
+ __weak NSOutlineView *_outlineView;
+
+ NSUInteger _retainedRowSelection;
+}
+
+- (void)VLCPLItemAppended:(NSArray *)valueArray;
+- (void)VLCPLItemRemoved:(NSNumber *)value;
+- (void)VLCPLItemUpdated;
+
+ at end
+
+#pragma mark -
+
static int VLCPLItemUpdated(vlc_object_t *p_this, const char *psz_var,
vlc_value_t oldval, vlc_value_t new_val, void *param)
{
@@ -105,15 +121,6 @@ static int VolumeUpdated(vlc_object_t *p_this, const char *psz_var,
#pragma mark -
- at interface VLCPLModel ()
-{
- playlist_t *p_playlist;
- __weak NSOutlineView *_outlineView;
-
- NSUInteger _retainedRowSelection;
-}
- at end
-
@implementation VLCPLModel
#pragma mark -
diff --git a/modules/gui/macosx/prefs_widgets.m b/modules/gui/macosx/prefs_widgets.m
index 31969efbcd..95152bc21e 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -2186,7 +2186,6 @@ o_moduleenabled = [NSNumber numberWithBool:NO];\
row:(NSInteger)dropRow dropOperation:(NSTableViewDropOperation)op;
{
NSPasteboard *pb = [info draggingPasteboard];
- NSDragOperation srcMask = [info draggingSourceOperationMask];
BOOL accepted = NO;
NS_DURING
More information about the vlc-commits
mailing list