Luncher: Fix right click menu popup crash.

This commit is contained in:
Stephen 'Okra' Houston 2017-01-05 15:35:20 -06:00
parent 2054936773
commit 02224ae8b3
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ _bar_icon_add(Instance *inst, Efreet_Desktop *desktop, E_Client *non_desktop_cli
snprintf(ori, sizeof(ori), "e,state,off,%s", _bar_location_get(inst));
elm_layout_signal_emit(ic->o_layout, ori, "e");
msg = alloca(sizeof(Edje_Message_Int_Set));
msg = alloca(sizeof(Edje_Message_String));
if (inst->cfg->style)
msg->str = strdup(inst->cfg->style);
edje_object_message_send(elm_layout_edje_get(ic->o_layout), EDJE_MESSAGE_STRING, 1, msg);