e - mixer - don't do anything on desklock if no mixer context exists

This commit is contained in:
Carsten Haitzler 2015-06-09 11:10:35 +09:00
parent 6bacf20705
commit 918f4bffcc
1 changed files with 2 additions and 0 deletions

View File

@ -697,6 +697,8 @@ _desklock_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *info)
if (emix_config_desklock_mute_get() == EINA_FALSE)
return ECORE_CALLBACK_PASS_ON;
if (!mixer_context)
return ECORE_CALLBACK_PASS_ON;
if (ev->on)
{