Mercurial > audlegacy
diff src/audacious/playlist.c @ 4581:cf6711eeb12f
implement event_queue_with_data_free()
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Wed, 21 May 2008 18:40:05 +0200 |
parents | 7f8a87023730 |
children | aec8fc12e075 |
line wrap: on
line diff
--- a/src/audacious/playlist.c Wed May 21 17:19:17 2008 +0200 +++ b/src/audacious/playlist.c Wed May 21 18:40:05 2008 +0200 @@ -1109,10 +1109,10 @@ msg->channels = nch; playback_set_sample_params(rate, freq, nch); - event_queue("playlist info change", msg); + event_queue_with_data_free("playlist info change", msg); text = playlist_get_info_text(playlist); - event_queue("title change", text); + event_queue_with_data_free("title change", text); if ( playlist->position ) hook_call( "playlist set info" , playlist->position );