[gnome-software] trivial: Downgrade a warning as it's in the logs at startup by default



commit 420653d27de5a8f556cd69c8454955e131709391
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jul 7 14:42:20 2017 +0100

    trivial: Downgrade a warning as it's in the logs at startup by default

 lib/gs-plugin-loader.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c
index 29376a6..21fc059 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -1038,8 +1038,9 @@ gs_plugin_loader_job_sorted_truncation (GsPluginLoaderHelper *helper)
                 max_results, gs_app_list_length (list));
        sort_func = gs_plugin_job_get_sort_func (helper->plugin_job);
        if (sort_func == NULL) {
-               g_warning ("no ->sort_func() set for %s, using random!",
-                          gs_plugin_action_to_string (gs_plugin_job_get_action (helper->plugin_job)));
+               GsPluginAction action = gs_plugin_job_get_action (helper->plugin_job);
+               g_debug ("no ->sort_func() set for %s, using random!",
+                        gs_plugin_action_to_string (action));
                gs_app_list_randomize (list);
        } else {
                gpointer sort_func_data;


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