From f130aeafcedc9219ffc7d29971064b604c3cdd39 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 13 Mar 2015 16:23:37 -0400 Subject: [PATCH] remove e_comp_evas_find() usage --- src/bin/e_fm.c | 2 +- src/modules/notification/e_mod_popup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_fm.c b/src/bin/e_fm.c index c6813019f..4045b7e1a 100644 --- a/src/bin/e_fm.c +++ b/src/bin/e_fm.c @@ -10389,7 +10389,7 @@ _e_fm2_icon_entry_widget_del(E_Fm2_Icon *ic) ic->sd->typebuf.disabled = EINA_FALSE; 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); } ic->keygrab = 0; diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c index bc722326c..866c465c0 100644 --- a/src/modules/notification/e_mod_popup.c +++ b/src/modules/notification/e_mod_popup.c @@ -355,7 +355,7 @@ _notification_popup_new(E_Notification_Notify *n, unsigned id) evas_object_show(popup->win); 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; int x, y, w, h;