Mercurial > audlegacy
changeset 2099:14f049193031 trunk
[svn] - when clearing a playlist's entries, make sure to reset the playlist's
linear entry list to NULL. additionally, set playlist->position to
NULL as there is nothing to iterate.
author | nenolod |
---|---|
date | Mon, 11 Dec 2006 06:25:24 -0800 |
parents | 425963ded156 |
children | 18b5544886ff |
files | ChangeLog audacious/playlist.c |
diffstat | 2 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Mon Dec 11 05:49:54 2006 -0800 +++ b/ChangeLog Mon Dec 11 06:25:24 2006 -0800 @@ -1,3 +1,14 @@ +2006-12-11 13:49:54 +0000 William Pitcock <nenolod@nenolod.net> + revision [3201] + - provide the old ABI for plugins (intermediate layer). + Pointed out by yaz, pointy hat to me. + + trunk/audacious/playlist.c | 26 ++++++++++++++++++++++++-- + trunk/audacious/playlist.h | 2 ++ + trunk/audacious/pluginenum.c | 2 +- + 3 files changed, 27 insertions(+), 3 deletions(-) + + 2006-12-11 13:47:05 +0000 William Pitcock <nenolod@nenolod.net> revision [3199] - make sure &default_playlist (temporary construct) has full padding.
--- a/audacious/playlist.c Mon Dec 11 05:49:54 2006 -0800 +++ b/audacious/playlist.c Mon Dec 11 06:25:24 2006 -0800 @@ -297,6 +297,8 @@ if (playlist) { g_list_foreach(playlist->entries, (GFunc) playlist_entry_free, NULL); g_list_free(playlist->entries); + playlist->position = NULL; + playlist->entries = NULL; } PLAYLIST_UNLOCK();