remove e_comp_evas_find() usage

This commit is contained in:
Mike Blumenkrantz 2015-03-13 16:23:37 -04:00
parent bacf638d73
commit f130aeafce
2 changed files with 2 additions and 2 deletions

View File

@ -10389,7 +10389,7 @@ _e_fm2_icon_entry_widget_del(E_Fm2_Icon *ic)
ic->sd->typebuf.disabled = EINA_FALSE; ic->sd->typebuf.disabled = EINA_FALSE;
if (ic->keygrab) if (ic->keygrab)
{ {
if (e_comp_evas_find(evas_object_evas_get(ic->obj))) if (evas_object_evas_get(ic->obj) == e_comp->evas)
e_comp_ungrab_input(e_comp, 0, 1); e_comp_ungrab_input(e_comp, 0, 1);
} }
ic->keygrab = 0; ic->keygrab = 0;

View File

@ -355,7 +355,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id)
evas_object_show(popup->win); evas_object_show(popup->win);
if (notification_cfg->dual_screen == POPUP_DISPLAY_POLICY_ALL) if (notification_cfg->dual_screen == POPUP_DISPLAY_POLICY_ALL)
{ {
EINA_LIST_FOREACH(e_comp_evas_find(evas_object_evas_get(popup->win))->zones, l, zone) EINA_LIST_FOREACH(e_comp->zones, l, zone)
{ {
Evas_Object *o; Evas_Object *o;
int x, y, w, h; int x, y, w, h;