Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
        ecore_main.c 


Log Message:
don't call the prepare callback if the fd_handler is about to be deleted
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/ecore_main.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- ecore_main.c        30 Aug 2005 10:05:26 -0000      1.19
+++ ecore_main.c        20 Sep 2005 19:15:49 -0000      1.20
@@ -308,7 +308,7 @@
        
        fdh = (Ecore_Fd_Handler *)l;
 
-       if (fdh->prep_func)
+       if (!fdh->delete_me && fdh->prep_func)
                fdh->prep_func (fdh->prep_data, fdh);
      }
    for (l = (Ecore_List2 *)fd_handlers; l; l = l->next)




-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to