ecore_evas_ews: focus-out may be called during deletion.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 5 Oct 2011 23:41:39 +0000 (23:41 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 5 Oct 2011 23:41:39 +0000 (23:41 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@63857 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_evas/ecore_evas_ews.c

index 2ff403d..c012990 100644 (file)
@@ -1032,6 +1032,7 @@ static void
 _ecore_evas_ews_cb_focus_out(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
 {
    Ecore_Evas *ee = data;
+   if (ee->deleted) return;
    ecore_evas_focus_set(ee, EINA_FALSE);
 }