Enlightenment CVS committal

Author  : handyande
Project : e17
Module  : apps/e

Dir     : e17/apps/e/src/bin


Modified Files:
        e_apps.c 


Log Message:
until the fixme is fixed we need to be more cautious
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_apps.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- e_apps.c    26 Sep 2005 14:31:35 -0000      1.75
+++ e_apps.c    26 Sep 2005 15:01:40 -0000      1.76
@@ -1646,7 +1646,7 @@
    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_App_Instance *ai;
        
        ai = ecore_exe_data_get(ev->exe);
+       if (!ai) /* related to FIXME above */
+         return 1;
+
        a = ai->app;
        if (a)
          {




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to