Enlightenment CVS committal Author : raster Project : e17 Module : libs/edje
Dir : e17/libs/edje/src/bin Modified Files: edje_main.c Log Message: be nice! =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/edje/src/bin/edje_main.c,v retrieving revision 1.53 retrieving revision 1.54 diff -u -3 -r1.53 -r1.54 --- edje_main.c 30 Oct 2004 11:47:23 -0000 1.53 +++ edje_main.c 12 Nov 2004 04:18:51 -0000 1.54 @@ -74,7 +74,6 @@ ecore_app_args_set(argc, (const char **)argv); ecore_event_handler_add(ECORE_EVENT_SIGNAL_EXIT, main_signal_exit, NULL); if (!ecore_evas_init()) return -1; -#ifdef HAVE_ECORE_X_H { int i; @@ -111,24 +110,13 @@ } } } -#if HAVE_ECORE_EVAS_X if (mode == 0) ecore_evas = ecore_evas_software_x11_new(NULL, 0, 0, 0, startw, starth); -#endif -#if HAVE_ECORE_EVAS_GL - if (mode == 1) + if ((!ecore_evas) || (mode == 1)) ecore_evas = ecore_evas_gl_x11_new(NULL, 0, 0, 0, startw, starth); -#endif -#if HAVE_ECORE_EVAS_FB - if (mode == 2) + if ((!ecore_evas) || (mode == 2)) ecore_evas = ecore_evas_fb_new(NULL, 270, startw, starth); -#endif -#else -#if HAVE_ECORE_EVAS_FB - ecore_evas = ecore_evas_fb_new(NULL, 270, startw, starth); -#endif -#endif if (!ecore_evas) return -1; ecore_evas_callback_delete_request_set(ecore_evas, main_delete_request); ecore_evas_callback_resize_set(ecore_evas, main_resize); ------------------------------------------------------- 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