avoid crash when showing bg tooltip if callback is reached unexpectedly
This commit is contained in:
parent
00af2f5fbe
commit
cf2057ae96
|
@ -771,7 +771,7 @@ bg_update_signal(void)
|
|||
static Evas_Object *
|
||||
bg_tooltip_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *tooltip)
|
||||
{
|
||||
if (bgchooser) return NULL;
|
||||
if (bgchooser || (!empd_song_item)) return NULL;
|
||||
return tooltip_create(tooltip, empd_song_item);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue