[Pkg-e-commits] [SCM] Enlightenment DR17 toolkit based (based on the EFL) branch, upstream-vcs, updated. 447de88121d145a078f1754a0cfebb704d363821

dj2 dj2 at alioth.debian.org
Sat Jun 7 18:33:48 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit 7ad1f08e0dd9aa570b2741b978c1dfea5574803d
Author: dj2 <dj2>
Date:   Tue Apr 15 05:11:07 2008 +0000

    - better error messages

diff --git a/src/lib/ewl_engines.c b/src/lib/ewl_engines.c
index f2ebbb8..487cfc5 100644
--- a/src/lib/ewl_engines.c
+++ b/src/lib/ewl_engines.c
@@ -153,15 +153,15 @@ ewl_engine_new(const char *name, int *argc, char ** argv)
 	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 @@ ewl_engine_new(const char *name, int *argc, char ** argv)
 	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);
 	}
 

-- 
Enlightenment DR17 toolkit based (based on the EFL)



More information about the Pkg-e-commits mailing list