aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-provider.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-19 03:05:15 +0800
committerDan Winship <danw@src.gnome.org>2000-04-19 03:05:15 +0800
commitfe97fa2fbb1628f20ae975fcf549f551ee893228 (patch)
tree14e74ad3e06f0c6fdf129ece0d9f782b0739fcec /camel/camel-provider.c
parentb0c0886afacc59a31c407152ee4a8c682770dd08 (diff)
downloadgsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar.gz
gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.tar.zst
gsoc2013-evolution-fe97fa2fbb1628f20ae975fcf549f551ee893228.zip
kill camel-log
svn path=/trunk/; revision=2487
Diffstat (limited to 'camel/camel-provider.c')
-rw-r--r--camel/camel-provider.c21
1 files changed, 8 insertions, 13 deletions
diff --git a/camel/camel-provider.c b/camel/camel-provider.c
index af472c61c8..52cfea60a1 100644
--- a/camel/camel-provider.c
+++ b/camel/camel-provider.c
@@ -46,7 +46,6 @@
#include "config.h"
#include "camel-provider.h"
-#include "camel-log.h"
#include <dirent.h>
#include <string.h>
@@ -93,13 +92,11 @@ camel_provider_register_as_module (const gchar *module_path)
CamelProvider * (*camel_provider_module_init) ();
gboolean has_module_init;
- CAMEL_LOG_FULL_DEBUG ("Entering CamelProvider::register_as_module\n");
-
g_return_val_if_fail (module_path, NULL);
if (!g_module_supported ()) {
- CAMEL_LOG_WARNING ("CamelProvider::register_as_module module loading not supported on this system\n");
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelProvider::register_as_module\n");
+ g_warning ("CamelProvider::register_as_module: module "
+ "loading not supported on this system\n");
return NULL;
}
@@ -107,16 +104,17 @@ camel_provider_register_as_module (const gchar *module_path)
new_module = g_module_open (module_path, 0);
if (!new_module) {
printf ("g_module_open reports: %s\n", g_module_error ());
- CAMEL_LOG_WARNING ("CamelProvider::register_as_module Unable to load module %s\n", module_path);
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelProvider::register_as_module\n");
+ g_warning ("CamelProvider::register_as_module: Unable to "
+ "load module %s\n", module_path);
return NULL;
}
has_module_init = g_module_symbol (new_module, "camel_provider_module_init", (gpointer *)&camel_provider_module_init);
if (!has_module_init){
- CAMEL_LOG_WARNING ("CamelProvider::register_as_module loading of module %s failed,\n"
- "\t Symbol camel_provider_module_init not defined in it\n", module_path);
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelProvider::register_as_module\n");
+ g_warning ("CamelProvider::register_as_module loading "
+ "of module %s failed,\n\tSymbol "
+ "camel_provider_module_init not defined in it\n",
+ module_path);
return NULL;
}
@@ -124,10 +122,7 @@ camel_provider_register_as_module (const gchar *module_path)
new_provider->gmodule = new_module;
camel_provider_register (new_provider);
- CAMEL_LOG_FULL_DEBUG ("Leaving CamelProvider::register_as_module\n");
return new_provider;
-
-
}
/**