From: Enlightenment S. <no-...@en...> - 2011-09-29 22:53:16
|
Log: e17/evry: fix segv on gadget popup hide Author: jeffdameth Date: 2011-09-29 15:53:09 -0700 (Thu, 29 Sep 2011) New Revision: 63689 Trac: http://trac.enlightenment.org/e/changeset/63689 Modified: trunk/e/src/modules/everything/evry_gadget.c Modified: trunk/e/src/modules/everything/evry_gadget.c =================================================================== --- trunk/e/src/modules/everything/evry_gadget.c 2011-09-29 21:58:21 UTC (rev 63688) +++ trunk/e/src/modules/everything/evry_gadget.c 2011-09-29 22:53:09 UTC (rev 63689) @@ -373,6 +373,8 @@ 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 @@ inst->win = win; win->data = inst; - win->func.hide = &_evry_hide_func; ecore_evas_name_class_set(win->ewin->ecore_evas, "E", "everything-window"); |