summaryrefslogtreecommitdiff
path: root/plugins/gtkui/gtkplaylist.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-27 17:07:43 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-27 17:07:43 +0100
commit8fe4de5ad1e933a18994ff760a4d877a0de7f322 (patch)
treec37891f2444b6888506cb39fa9cfb1ca9f58375c /plugins/gtkui/gtkplaylist.c
parent0b38c072a5e53d0af27a208a3b561034a2345506 (diff)
reset streamer if attempted to play NULL track
Diffstat (limited to 'plugins/gtkui/gtkplaylist.c')
-rw-r--r--plugins/gtkui/gtkplaylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkplaylist.c b/plugins/gtkui/gtkplaylist.c
index bf2a6e18..bf551e5a 100644
--- a/plugins/gtkui/gtkplaylist.c
+++ b/plugins/gtkui/gtkplaylist.c
@@ -1844,7 +1844,7 @@ gtkpl_songchanged_wrapper (int from, int to) {
ft->from = from;
ft->to = to;
g_idle_add (update_win_title_idle, ft);
- if (ft->to == -1 && ft->from != -1) {
+ if (ft->to == -1) {
// redraw seekbar
g_idle_add (redraw_seekbar_cb, NULL);
}