From af911c97b3e14271d50c68632760324efcb4fdf9 Mon Sep 17 00:00:00 2001 From: Rob Taylor Date: Sat, 18 Aug 2007 17:31:28 +0100 Subject: allow a plugin to have no defaults ini file. Allow a plugin to have no defaults ini file, just output a debug message in this case rather than g_error. --- ohmd/ohm-module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmd/ohm-module.c b/ohmd/ohm-module.c index 99dc34a..f306aff 100644 --- a/ohmd/ohm-module.c +++ b/ohmd/ohm-module.c @@ -448,7 +448,7 @@ ohm_module_init (OhmModule *module) error = NULL; ret = ohm_conf_load_defaults (module->priv->conf, name, &error); if (ret == FALSE) { - g_error ("could not load defaults : %s", error->message); + ohm_debug ("not defaults for %s: %s", name, error->message); g_error_free (error); } } -- cgit v1.2.3