derekf pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=ad32cee563d67ade30efbf7ffecda4ce7a15e8fa

commit ad32cee563d67ade30efbf7ffecda4ce7a15e8fa
Author: Stephen 'Okra' Houston <smhousto...@gmail.com>
Date:   Thu Jan 5 15:43:48 2017 -0600

    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 1e3642d..abc478e 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);

-- 


Reply via email to