Changeset 1038

Show
Ignore:
Timestamp:
10/27/07 00:20:47 (15 months ago)
Author:
stephen_booth
Message:

Fix compiler warnings on Leopard

Location:
trunk
Files:
13 modified

Legend:

Unmodified
Added
Removed
  • trunk/AudioLibrary/AudioLibrary.m

    r1034 r1038  
    162162#define STREAM_TABLE_COLUMNS_MENU_ITEM_INDEX            6 
    163163 
     164#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4 
    164165// ======================================== 
    165166// Completely bogus NSTreeController bindings hack 
     
    168169- (id) observedObject; 
    169170@end 
     171#endif 
    170172 
    171173// ======================================== 
  • trunk/Browser/AlbumsNode.m

    r659 r1038  
    4040                [[[CollectionManager manager] streamManager] addObserver:self  
    4141                                                                                                          forKeyPath:MetadataAlbumTitleKey 
    42                                                                                                                  options:nil 
     42                                                                                                                 options:0 
    4343                                                                                                                 context:nil]; 
    4444                 
  • trunk/Browser/ArtistsNode.m

    r659 r1038  
    4040                [[[CollectionManager manager] streamManager] addObserver:self  
    4141                                                                                                          forKeyPath:MetadataArtistKey 
    42                                                                                                                  options:nil 
     42                                                                                                                 options:0 
    4343                                                                                                                 context:nil]; 
    4444                 
  • trunk/Browser/ComposersNode.m

    r659 r1038  
    4040                [[[CollectionManager manager] streamManager] addObserver:self  
    4141                                                                                                          forKeyPath:MetadataComposerKey 
    42                                                                                                                  options:nil 
     42                                                                                                                 options:0 
    4343                                                                                                                 context:nil]; 
    4444 
  • trunk/Browser/GenresNode.m

    r659 r1038  
    4040                [[[CollectionManager manager] streamManager] addObserver:self  
    4141                                                                                                          forKeyPath:MetadataGenreKey 
    42                                                                                                                  options:nil 
     42                                                                                                                 options:0 
    4343                                                                                                                 context:nil]; 
    4444 
  • trunk/Browser/HighestRatedNode.m

    r756 r1038  
    4343                [[[CollectionManager manager] streamManager] addObserver:self  
    4444                                                                                                          forKeyPath:StatisticsRatingKey 
    45                                                                                                                  options:nil 
     45                                                                                                                 options:0 
    4646                                                                                                                 context:nil]; 
    4747 
  • trunk/Browser/MostPopularNode.m

    r659 r1038  
    4343                [[[CollectionManager manager] streamManager] addObserver:self  
    4444                                                                                                          forKeyPath:StatisticsPlayCountKey 
    45                                                                                                                  options:nil 
     45                                                                                                                 options:0 
    4646                                                                                                                 context:nil]; 
    4747 
  • trunk/Browser/RecentlyAddedNode.m

    r659 r1038  
    4343                [[[CollectionManager manager] streamManager] addObserver:self  
    4444                                                                                                          forKeyPath:StatisticsDateAddedKey 
    45                                                                                                                  options:nil 
     45                                                                                                                 options:0 
    4646                                                                                                                 context:nil]; 
    4747 
  • trunk/Browser/RecentlyPlayedNode.m

    r680 r1038  
    4242                [[[CollectionManager manager] streamManager] addObserver:self  
    4343                                                                                                          forKeyPath:StatisticsLastPlayedDateKey 
    44                                                                                                                  options:nil 
     44                                                                                                                 options:0 
    4545                                                                                                                 context:nil]; 
    4646 
  • trunk/Browser/RecentlySkippedNode.m

    r680 r1038  
    4242                [[[CollectionManager manager] streamManager] addObserver:self  
    4343                                                                                                          forKeyPath:StatisticsLastSkippedDateKey 
    44                                                                                                                  options:nil 
     44                                                                                                                 options:0 
    4545                                                                                                                 context:nil]; 
    4646 
  • trunk/Database/CollectionManager.m

    r1021 r1038  
    2626#import "AudioStream.h" 
    2727#import "Playlist.h" 
     28#import "SmartPlaylist.h" 
     29#import "WatchFolder.h" 
    2830 
    2931#import "SQLiteUtilityFunctions.h" 
  • trunk/ThirdParty/PTHotKey/PTHotKeyCenter.m

    r651 r1038  
    7676                                                                hotKeyID, 
    7777                                                                GetEventDispatcherTarget(), 
    78                                                                 nil, 
     78                                                                0, 
    7979                                                                &carbonHotKey ); 
    8080 
     
    233233 
    234234        NSAssert( hotKeyID.signature == 'HCHk', @"Invalid hot key id" ); 
    235         NSAssert( hotKeyID.id != nil, @"Invalid hot key id" ); 
     235        NSAssert( hotKeyID.id != 0, @"Invalid hot key id" ); 
    236236 
    237237        hotKey = (PTHotKey*)hotKeyID.id; 
  • trunk/ThirdParty/RemoteControlWrapper/GlobalKeyboardDevice.m

    r957 r1038  
    173173        hotKeyID.id = (long)keycode; 
    174174         
    175         err = RegisterEventHotKey(keycode, modifiers, hotKeyID, GetEventDispatcherTarget(), nil, &carbonHotKey ); 
     175        err = RegisterEventHotKey(keycode, modifiers, hotKeyID, GetEventDispatcherTarget(), 0, &carbonHotKey ); 
    176176         
    177177        if( err )