From 30ce78524683e06667b1f958599b8abb22e81cd1 Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Thu, 29 Sep 2011 22:53:09 +0000 Subject: [PATCH] e17/evry: fix segv on gadget popup hide SVN revision: 63689 --- src/modules/everything/evry_gadget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/everything/evry_gadget.c b/src/modules/everything/evry_gadget.c index 94666b6..0ca18ef 100644 --- a/src/modules/everything/evry_gadget.c +++ b/src/modules/everything/evry_gadget.c @@ -373,6 +373,8 @@ _gadget_window_show(Instance *inst) E_Win *ewin = inst->win->ewin; + inst->win->func.hide = &_evry_hide_func; + e_zone_useful_geometry_get(inst->win->zone, &zx, &zy, &zw, &zh); evas_object_geometry_get(inst->o_button, &gx, &gy, &gw, &gh); @@ -483,7 +485,6 @@ _button_cb_mouse_down(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED_ inst->win = win; win->data = inst; - win->func.hide = &_evry_hide_func; ecore_evas_name_class_set(win->ewin->ecore_evas, "E", "everything-window"); -- 2.7.4