[gnome-software] trivial: Downgrade some plugin warnings



commit 526e92aac8578f311b2bf402b6295e18b43d2768
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jan 29 21:27:14 2016 +0000

    trivial: Downgrade some plugin warnings

 src/gs-plugin-loader.c |    4 ++--
 src/gs-plugin.c        |    3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 3aa9512..2f9d855 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3010,8 +3010,8 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader, GError **error)
                                dep = gs_plugin_loader_find_plugin (plugin_loader,
                                                                    plugin->deps[j]);
                                if (dep == NULL) {
-                                       g_warning ("cannot find plugin '%s'",
-                                                  plugin->deps[j]);
+                                       g_debug ("cannot find plugin '%s'",
+                                                plugin->deps[j]);
                                        continue;
                                }
                                if (!dep->enabled)
diff --git a/src/gs-plugin.c b/src/gs-plugin.c
index 591bf0d..ebb85b0 100644
--- a/src/gs-plugin.c
+++ b/src/gs-plugin.c
@@ -89,8 +89,7 @@ gs_plugin_check_distro_id (GsPlugin *plugin, const gchar *distro_id)
        /* check that we are running on Fedora */
        id = gs_os_release_get_id (&error);
        if (id == NULL) {
-               g_warning ("Could not parse os-release: %s",
-                          error->message);
+               g_debug ("could not parse os-release: %s", error->message);
                return FALSE;
        }
        if (g_strcmp0 (id, distro_id) != 0)


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