summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-18 13:18:09 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-02-18 13:20:31 +0100
commit09091bb133456bcf32e74ce17d6b44fe8eea6bd6 (patch)
tree66c744363ae5b72b8d137b73022759ae8ee553c9
parent4339f9f783bd507f2cf82f41643d3b31e523a02d (diff)
luncher: fix hash table usage
... OKRA! the hash tables wants a pointer to a pointer. Not just a pointer. fix T4970
-rw-r--r--src/modules/luncher/bar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c
index 806c0e493..6e5c9d163 100644
--- a/src/modules/luncher/bar.c
+++ b/src/modules/luncher/bar.c
@@ -206,7 +206,7 @@ _bar_icon_match(Instance *inst, E_Client *ec)
206 if (has_desktop) 206 if (has_desktop)
207 { 207 {
208 ic = eina_hash_find(inst->icons_desktop_hash, ec->exe_inst->desktop->orig_path); 208 ic = eina_hash_find(inst->icons_desktop_hash, ec->exe_inst->desktop->orig_path);
209 if ((ic) && (ic2 = eina_hash_find(inst->icons_clients_hash, ec))) 209 if ((ic) && (ic2 = eina_hash_find(inst->icons_clients_hash, &ec)))
210 { 210 {
211 ic2->execs = eina_list_remove(ic2->execs, ec->exe_inst); 211 ic2->execs = eina_list_remove(ic2->execs, ec->exe_inst);
212 ic2->clients = eina_list_remove(ic2->clients, ec); 212 ic2->clients = eina_list_remove(ic2->clients, ec);