Enlightenment CVS committal

Author  : lordchaos
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_misc.c 


Log Message:
* The recent evas change meant that we *need* to evas_init now.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_misc.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- ewl_misc.c  12 Jan 2006 18:21:18 -0000      1.38
+++ ewl_misc.c  15 Jan 2006 05:43:41 -0000      1.39
@@ -120,6 +120,11 @@
 
        ewl_init_parse_options(argc, argv);
 
+       if (!evas_init()) {
+               DERROR("Could not init evas....\n");
+               DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
+       }
+
        if (!ecore_init()) {
                DERROR("Could not init ecore....\n");
                DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
@@ -138,6 +143,8 @@
                DRETURN_INT(--_ewl_init_count, DLEVEL_STABLE);
        }
 
+
+
        reveal_list = ecore_list_new();
        obscure_list = ecore_list_new();
        configure_list = ecore_list_new();
@@ -314,6 +321,7 @@
        child_add_list = NULL;
 
        edje_shutdown();
+       evas_shutdown();
 
 #ifdef ENABLE_EWL_SOFTWARE_X11
        if (use_engine & EWL_ENGINE_X11) 
@@ -710,11 +718,11 @@
                        }
 
                        ewl_object_queued_add(EWL_OBJECT(w),
-                                       EWL_FLAG_QUEUED_CPROCESS);
+                               EWL_FLAG_QUEUED_CPROCESS);
                        if (REALIZED(w) && VISIBLE(w) && !OBSCURED(w))
                                ewl_callback_call(w, EWL_CALLBACK_CONFIGURE);
                        ewl_object_queued_remove(EWL_OBJECT(w),
-                                                EWL_FLAG_QUEUED_CPROCESS);
+                               EWL_FLAG_QUEUED_CPROCESS);
                }
        }
 




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to