[grilo] core: Downgrade init failure to a debug statement



commit 057b849c9659534ff51c7a0597815eb174013fd8
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Dec 21 14:49:47 2012 +0100

    core: Downgrade init failure to a debug statement
    
    It's quite common for plugin load to fail when it lacks the
    necessary API keys, especially when the plugin type isn't
    supported by the application.
    
    Eg. we don't want Totem to warn if it cannot load the Flickr
    plugin that it will not be using.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690613
    
    Signed-off-by: Juan A. Suarez Romero <jasuarez igalia com>

 src/grl-registry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-registry.c b/src/grl-registry.c
index 6f82c40..e9d7e04 100644
--- a/src/grl-registry.c
+++ b/src/grl-registry.c
@@ -327,7 +327,7 @@ activate_plugin (GrlRegistry *registry,
                                         grl_plugin_get_id (plugin));
 
   if (!grl_plugin_load (plugin, plugin_configs)) {
-    GRL_WARNING ("Failed to initialize plugin: '%s'", grl_plugin_get_filename (plugin));
+    GRL_DEBUG ("Failed to initialize plugin: '%s'. Check if plugin is well configured", grl_plugin_get_filename (plugin));
     g_set_error (error,
                  GRL_CORE_ERROR,
                  GRL_CORE_ERROR_LOAD_PLUGIN_FAILED,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]