]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/playlist.m
macosx: remove deprecated method selectRow:byExtendingSelection:
[vlc] / modules / gui / macosx / playlist.m
index b5545b09bdcdec16ae79dc8c4a091d09327004c9..030387b47021337e26a1157fb3fd193b11db8fe7 100644 (file)
     }
     if( i_row > -1 )
     {
-        [o_outline_view selectRow:i_row byExtendingSelection: NO];
+               [o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_row] byExtendingSelection:NO];
         [o_outline_view scrollRowToVisible: i_row];
     }
     pl_Release( VLCIntf );
         }
 
         [o_outline_view deselectAll: self];
-        [o_outline_view selectRow: i_row byExtendingSelection: NO];
+        [o_outline_view selectRowIndexes:[NSIndexSet indexSetWithIndex:i_row] byExtendingSelection:NO];
         [o_outline_view scrollRowToVisible: i_row];
 
         pl_Release( VLCIntf );