diff options
author | 2010-03-13 18:46:36 +0100 | |
---|---|---|
committer | 2010-03-13 18:46:36 +0100 | |
commit | 8c96fe77fdd34ee8b94f2cf60cd29db3c6c3d60f (patch) | |
tree | 3b61e08dd862127abfaf5e861a4a5a1fdae48857 /plugins/gtkui/coverart.c | |
parent | 3438d32384da18fa4b1ebaa397efabfcb981c0f7 (diff) |
few fixes/improvements to artwork loading;
fix tabstrip widget drawing when dragging tabs
Diffstat (limited to 'plugins/gtkui/coverart.c')
-rw-r--r-- | plugins/gtkui/coverart.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/gtkui/coverart.c b/plugins/gtkui/coverart.c index 3d9ba76b..27b2a5af 100644 --- a/plugins/gtkui/coverart.c +++ b/plugins/gtkui/coverart.c @@ -248,7 +248,7 @@ get_cover_art (const char *fname, const char *artist, const char *album, int wid } void -reset_cover_art_cache (void) { +coverart_reset_queue (void) { deadbeef->mutex_lock (mutex); if (queue) { load_query_t *q = queue->next; @@ -264,6 +264,9 @@ reset_cover_art_cache (void) { tail = queue; } deadbeef->mutex_unlock (mutex); + if (coverart_plugin) { + coverart_plugin->reset (1); + } } void @@ -280,7 +283,7 @@ cover_art_free (void) { if (coverart_plugin) { trace ("resetting artwork plugin...\n"); - coverart_plugin->reset (); + coverart_plugin->reset (0); } if (tid) { |