From: Enlightenment C. <no...@cv...> - 2007-01-08 07:33:11
|
Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl Dir : e17/libs/ewl/src/engines/evas Modified Files: ewl_engine_evas.c Log Message: - ewl_engine_new doesnt' need to call the init param as all of the create_engine functions have to do it already. - remove init function pointer. - pass the argc and argv array to the engines so they can pull out params if needed =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/engines/evas/ewl_engine_evas.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- ewl_engine_evas.c 4 Jan 2007 05:09:45 -0000 1.8 +++ ewl_engine_evas.c 8 Jan 2007 13:32:40 -0000 1.9 @@ -64,7 +64,7 @@ } Ewl_Engine * -ewl_engine_create(void) +ewl_engine_create(int *argc, char ** argv) { Ewl_Engine_Evas *engine; @@ -92,7 +92,6 @@ DCHECK_PARAM_PTR_RET("engine", engine, FALSE); info = NEW(Ewl_Engine_Info, 1); - info->init = ee_init; info->shutdown = ee_shutdown; info->hooks.canvas = canvas_funcs; info->hooks.theme = theme_funcs; |