comparison src/audacious/playlist.c @ 3921:35a26116f6bd

increment playlist serial number on loading playlist file.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Fri, 09 Nov 2007 20:32:06 +0900
parents c2b2828186ba
children 23e5b148ae7c
comparison
equal deleted inserted replaced
3920:c2b2828186ba 3921:35a26116f6bd
1842 new_len = playlist_get_length(playlist); 1842 new_len = playlist_get_length(playlist);
1843 1843
1844 playlist_generate_shuffle_list(playlist); 1844 playlist_generate_shuffle_list(playlist);
1845 playlistwin_update_list(playlist); 1845 playlistwin_update_list(playlist);
1846 playlist_manager_update(); 1846 playlist_manager_update();
1847 playlist->serial++;
1847 return new_len - old_len; 1848 return new_len - old_len;
1848 } 1849 }
1849 1850
1850 GList * 1851 GList *
1851 get_playlist_nth(Playlist *playlist, guint nth) 1852 get_playlist_nth(Playlist *playlist, guint nth)