[vlc-commits] macosx: add missing selector declarations and more cleanup

Felix Paul Kühne git at videolan.org
Sun Sep 23 19:45:21 CEST 2018


vlc/vlc-3.0 | branch: master | Felix Paul Kühne <felix at feepk.net> | Sat Jun  9 17:55:00 2018 +0200| [4ea463d08e6293b219bf1ae3a920989ae70f0012] | committer: Felix Paul Kühne

macosx: add missing selector declarations and more cleanup

(cherry picked from commit 47c81aff1ca2d396ccbb0366b537d54bdd50b0f2)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=4ea463d08e6293b219bf1ae3a920989ae70f0012
---

 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 5ea1d46603..2fbea38d15 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 431e93c78f..b6d088e1ee 100644
--- a/modules/gui/macosx/prefs_widgets.m
+++ b/modules/gui/macosx/prefs_widgets.m
@@ -2197,7 +2197,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