forked from enlightenment/enlightenment
until the fixme is fixed we need to be more cautious
SVN revision: 16965
This commit is contained in:
parent
225fea7595
commit
7c4e06b296
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue