From ad32cee563d67ade30efbf7ffecda4ce7a15e8fa Mon Sep 17 00:00:00 2001 From: Stephen 'Okra' Houston Date: Thu, 5 Jan 2017 15:43:48 -0600 Subject: [PATCH] Fix luncher crash on right click I mean really, I don't know why I write code like this, it makes everyone around me so sad. (commit log by Derek, paraphrased from an irc conversation) --- src/modules/luncher/bar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 1e3642dd2..abc478e6b 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -476,7 +476,7 @@ _bar_icon_mouse_down(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUS popup = elm_ctxpopup_add(e_comp->elm); elm_object_style_set(popup, "noblock"); - evas_object_smart_callback_add(ic->preview, "dismissed", _bar_popup_dismissed, NULL); + evas_object_smart_callback_add(popup, "dismissed", _bar_popup_dismissed, NULL); evas_object_size_hint_min_set(popup, ic->inst->size, ic->inst->size); box = elm_box_add(popup);