until the fixme is fixed we need to be more cautious

SVN revision: 16965
This commit is contained in:
handyande 2005-09-26 15:01:40 +00:00 committed by handyande
parent 225fea7595
commit 7c4e06b296
1 changed files with 4 additions and 1 deletions

View File

@ -1646,7 +1646,7 @@ _e_apps_cb_exit(void *data, int type, void *event)
E_App *a;
/* FIXME: Check if we launched this exe, else it isn't sure that
* the exe data is an E_App!
* the exe data is an E_App! (see 8 lines down also)
*/
ev = event;
if (ev->exe)
@ -1654,6 +1654,9 @@ _e_apps_cb_exit(void *data, int type, void *event)
E_App_Instance *ai;
ai = ecore_exe_data_get(ev->exe);
if (!ai) /* related to FIXME above */
return 1;
a = ai->app;
if (a)
{