Enlightenment CVS committal

Author  : xcomputerman
Project : misc
Module  : engage

Dir     : misc/engage/src


Modified Files:
        main.c 


Log Message:
Init config first before attempting to connect to X server.

===================================================================
RCS file: /cvsroot/enlightenment/misc/engage/src/main.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- main.c      13 Oct 2004 13:45:56 -0000      1.12
+++ main.c      1 Nov 2004 19:33:33 -0000       1.13
@@ -21,11 +21,6 @@
       exit(0);
   }
   
-  if((ecore_x_init(NULL)) == 0) {
-     ecore_shutdown();
-     exit(0);
-  }
-
   if((ecore_config_init("engage")) == ECORE_CONFIG_ERR_FAIL) {
      ecore_x_shutdown();
      ecore_shutdown();
@@ -39,6 +34,12 @@
     ecore_shutdown();
     exit(0);
   }
+
+  if((ecore_x_init(NULL)) == 0) {
+     ecore_shutdown();
+     exit(0);
+  }
+
   e_app_init();
 
   ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, exit_cb, NULL);




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to