Enlightenment CVS committal Author : dj2 Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_engines.c Log Message: - better error messages =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_engines.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -3 -r1.55 -r1.56 --- ewl_engines.c 6 Dec 2007 07:07:12 -0000 1.55 +++ ewl_engines.c 15 Apr 2008 05:11:07 -0000 1.56 @@ -153,15 +153,15 @@ plugin = ecore_plugin_load(ewl_engines_path, name, INTERFACE_CURRENT); if (!plugin) { - DWARNING("Unable to open engine file."); + DWARNING("Unable to open engine %s.", name); DRETURN_PTR(NULL, DLEVEL_STABLE); } dependancies = ecore_plugin_symbol_get(plugin, "ewl_engine_dependancies"); if (!dependancies) { - DWARNING("Unable to find ewl_engine_dependancies in " - "engine file."); + DWARNING("Unable to find ewl_engine_dependancies for " + "the %s engine.", name); DRETURN_PTR(NULL, DLEVEL_STABLE); } @@ -196,14 +196,14 @@ create_engine = ecore_plugin_symbol_get(plugin, "ewl_engine_create"); if (!create_engine) { - DWARNING("Unable to find ewl_engine_create in engine file."); + DWARNING("Unable to find ewl_engine_create for the %s engine.", name); DRETURN_PTR(NULL, DLEVEL_STABLE); } engine = EWL_ENGINE(create_engine(argc, argv)); if (!engine) { - fprintf(stderr, "Unable to create engine.\n"); + fprintf(stderr, "Unable to create %s engine.\n", name); DRETURN_PTR(NULL, DLEVEL_STABLE); } ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs