Enlightenment CVS committal Author : ningerso Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_misc.c Log Message: Temporary change to engine name fetch. =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_misc.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -3 -r1.57 -r1.58 --- ewl_misc.c 9 Jun 2006 19:33:14 -0000 1.57 +++ ewl_misc.c 14 Jun 2006 15:47:01 -0000 1.58 @@ -481,10 +481,16 @@ DENTER_FUNCTION(DLEVEL_STABLE); + /* XXX when the engine init stuff is fixed up this should move below + * the if statement. Put it here for now to make sure the engines + * always get init'd */ + engines = ewl_engine_names_get(); + if (!argc || !argv) + { + ecore_list_destroy(engines); DRETURN(DLEVEL_STABLE); - - engines = ewl_engine_names_get(); + } i = 0; while (i < *argc) { _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs