luncher: fix hash table usage

... OKRA!

the hash tables wants a pointer to a pointer. Not just a pointer.

fix T4970
This commit is contained in:
Marcel Hollerbach 2017-02-18 13:18:09 +01:00
parent 4339f9f783
commit 09091bb133
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ _bar_icon_match(Instance *inst, E_Client *ec)
if (has_desktop)
{
ic = eina_hash_find(inst->icons_desktop_hash, ec->exe_inst->desktop->orig_path);
if ((ic) && (ic2 = eina_hash_find(inst->icons_clients_hash, ec)))
if ((ic) && (ic2 = eina_hash_find(inst->icons_clients_hash, &ec)))
{
ic2->execs = eina_list_remove(ic2->execs, ec->exe_inst);
ic2->clients = eina_list_remove(ic2->clients, ec);