Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/ecore

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


Modified Files:
        ecore_evas.c 


Log Message:
properly initialize evas
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- ecore_evas.c        8 May 2004 04:44:04 -0000       1.12
+++ ecore_evas.c        7 Jul 2004 19:27:26 -0000       1.13
@@ -15,14 +15,14 @@
 int
 ecore_evas_init(void)
 {
-   _ecore_evas_init_count++;
-   if (_ecore_evas_init_count > 1) return _ecore_evas_init_count;
-   return _ecore_evas_init_count;
+   evas_init ();
+
+   return ++_ecore_evas_init_count;
 }
 
 /**
  * Shut down the Evas system.
- * @return 0 if ecore evas is fully shut down, or 1 if it still needs to be shut down
+ * @return 0 if ecore evas is fully shut down, or > 0 if it still needs to be shut 
down
  * 
  * This closes the Evas system down.
  */




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to