Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore
Modified Files:
Tag: SPLIT
ecore_main.c
Log Message:
fix iterator to call idel enterers just b4 exiting
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Attic/ecore_main.c,v
retrieving revision 1.1.2.14
retrieving revision 1.1.2.15
diff -u -3 -r1.1.2.14 -r1.1.2.15
--- ecore_main.c 8 Sep 2003 03:05:18 -0000 1.1.2.14
+++ ecore_main.c 8 Sep 2003 03:21:01 -0000 1.1.2.15
@@ -405,7 +405,7 @@
goto process_events;
}
/* call idle enterers ... */
- _ecore_idle_enterer_call();
+ if (!once_only) _ecore_idle_enterer_call();
/* if these calls caused any biuffered events to appear - deal with them */
while (_ecore_main_fd_handlers_buf_call());
/* if ther are any - jump to processing them */
@@ -415,7 +415,12 @@
have_signal = 1;
goto process_events;
}
- if (once_only) return;
+ if (once_only)
+ {
+ _ecore_idle_enterer_call();
+ in_main_loop--;
+ return;
+ }
start_loop:
/* init flags */
@@ -500,5 +505,6 @@
_ecore_main_fd_handlers_cleanup();
}
while (_ecore_main_fd_handlers_buf_call());
+ if (once_only) _ecore_idle_enterer_call();
in_main_loop--;
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs