Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/engines/x11
Modified Files:
ewl_engine_x11.c
Log Message:
- handle x11 engine initialization failure a bit better
- couple small bugs fixed
- cleanup dead code
- set functions static if possible
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/engines/x11/ewl_engine_x11.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- ewl_engine_x11.c 23 Oct 2006 18:26:46 -0000 1.22
+++ ewl_engine_x11.c 27 Oct 2006 04:26:56 -0000 1.23
@@ -155,7 +155,11 @@
DRETURN_INT(TRUE, DLEVEL_STABLE);
if (!ecore_x_init(NULL))
+ {
+ fprintf(stderr, "Unable to initialize Ecore X.\n"
+ "Is your DISPLAY variable set correctly?\n\n");
DRETURN_INT(FALSE, DLEVEL_STABLE);
+ }
ee_expose_handler = ecore_event_handler_add(
ECORE_X_EVENT_WINDOW_DAMAGE,
@@ -237,6 +241,7 @@
{
ee_shutdown(EWL_ENGINE(engine));
+ fprintf(stderr, "Unable to create Ecore X event handlers.\n");
DRETURN_INT(FALSE, DLEVEL_STABLE);
}
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs