Enlightenment CVS committal

Author  : essiene
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance/src/client


Modified Files:
        entrance_config.c main.c 


Log Message:
Properly init and shutdown ecore_desktop(), this is why we were getting 
ecore_hash warnings earlier... naughty me!

===================================================================
RCS file: /cvs/e/e17/apps/entrance/src/client/entrance_config.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- entrance_config.c   29 Aug 2006 00:29:38 -0000      1.34
+++ entrance_config.c   29 Aug 2006 01:24:23 -0000      1.35
@@ -484,6 +484,8 @@
        e->sessions.hash =
           evas_hash_add(e->sessions.hash, exs->name, exs);
     }
+
+       ecore_desktop_destroy(ed);
 }
 
 
===================================================================
RCS file: /cvs/e/e17/apps/entrance/src/client/main.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -3 -r1.84 -r1.85
--- main.c      12 Aug 2006 15:16:18 -0000      1.84
+++ main.c      29 Aug 2006 01:24:23 -0000      1.85
@@ -14,6 +14,7 @@
 #include <Esmart/Esmart_Text_Entry.h>
 #include <Esmart/Esmart_Container.h>
 #include <Ecore_Config.h>
+#include <Ecore_Desktop.h>
 #include "entrance.h"
 #include "entrance_session.h"
 #include "entrance_x_session.h"
@@ -704,6 +705,14 @@
       ecore_shutdown();
       return -1;
    }
+   
+   if(!ecore_desktop_init())
+   {
+          ecore_shutdown();
+          ecore_config_shutdown();
+          return -1;
+   }
+
    ecore_app_args_set(argc, (const char **) argv);
    
    /* Set locale to user's environment */
@@ -874,6 +883,7 @@
       edje_shutdown();
       ecore_evas_shutdown();
       ecore_x_shutdown();
+         ecore_desktop_shutdown();
       ecore_config_shutdown();
       ecore_shutdown();
    }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to