[gnome-software/wip/hughsie/wildcard-legacy: 8/11] trivial: Print debugging when the application remains a generic component



commit a7780c1d4eb9b3abc6602fd02cbaddbee8d6f611
Author: Richard Hughes <richard hughsie com>
Date:   Sun Jul 14 18:40:24 2019 +0100

    trivial: Print debugging when the application remains a generic component
    
    This happened with Audacity recently (AppData bug), and it's almost impossible
    to see from the debug log.

 lib/gs-plugin-loader.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c
index 40fd0cb5..449d4f4a 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -1244,9 +1244,9 @@ gs_plugin_loader_app_is_valid (GsApp *app, gpointer user_data)
        if (!gs_plugin_job_has_refine_flags (helper->plugin_job,
                                                 GS_PLUGIN_REFINE_FLAGS_ALLOW_PACKAGES) &&
            (gs_app_get_kind (app) == AS_APP_KIND_GENERIC)) {
-//             g_debug ("app invalid as only a %s: %s",
-//                      as_app_kind_to_string (gs_app_get_kind (app)),
-//                      gs_plugin_loader_get_app_str (app));
+               g_debug ("app invalid as only a %s: %s",
+                        as_app_kind_to_string (gs_app_get_kind (app)),
+                        gs_plugin_loader_get_app_str (app));
                return FALSE;
        }
 


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