diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-03-09 15:46:00 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-03-09 15:46:00 +0100 |
commit | 66d2ce2da3e8c58fe70ccf559cca41758486ea1f (patch) | |
tree | 0a3d6d59d6b35be7bb3c9ea89bedcb4a5e6cd37d /plugins/gtkui/gtkui.c | |
parent | b6832fc06c87a2fd9c98dd5061466985dc612b67 (diff) |
gtkui/artwork: new get_cache_path2 API, crash fix
Diffstat (limited to 'plugins/gtkui/gtkui.c')
-rw-r--r-- | plugins/gtkui/gtkui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c index ea9acc3a..02d5310f 100644 --- a/plugins/gtkui/gtkui.c +++ b/plugins/gtkui/gtkui.c @@ -864,7 +864,7 @@ gtkui_connect_cb (void *none) { DB_plugin_t **plugins = deadbeef->plug_get_list (); for (int i = 0; plugins[i]; i++) { DB_plugin_t *p = plugins[i]; - if (p->id && !strcmp (p->id, "artwork")) { + if (p->id && !strcmp (p->id, "artwork") && p->version_major == 1 && p->version_minor >= 2) { trace ("gtkui: found cover-art loader plugin\n"); coverart_plugin = (DB_artwork_plugin_t *)p; break; |