[gnome-software/mwleeds/hardcoded-pwa-list: 9/9] some tmp debug statements
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/mwleeds/hardcoded-pwa-list: 9/9] some tmp debug statements
- Date: Wed, 16 Mar 2022 20:21:48 +0000 (UTC)
commit b4c7400dac05f526bffa4c5ab5c7cd655a830457
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Wed Mar 16 10:52:46 2022 -0700
some tmp debug statements
lib/gs-plugin-loader.c | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
---
diff --git a/lib/gs-plugin-loader.c b/lib/gs-plugin-loader.c
index fe8278d0f..a516b51ba 100644
--- a/lib/gs-plugin-loader.c
+++ b/lib/gs-plugin-loader.c
@@ -3427,6 +3427,14 @@ gs_plugin_loader_process_thread_cb (GTask *task,
break;
}
+ switch (action) {
+ case GS_PLUGIN_ACTION_GET_CATEGORY_APPS:
+ g_debug ("%s: app list length = %d", G_STRLOC, gs_app_list_length (list));
+ for (guint i = 0; i < gs_app_list_length (list); i++) {
+ GsApp *app = gs_app_list_index (list, i);
+ g_debug ("%s\n\n", gs_app_to_string (app));
+ }
+ }
/* run refine() on each one if required */
if (gs_plugin_job_get_refine_flags (helper->plugin_job) != 0 &&
list != NULL &&
@@ -3522,9 +3530,29 @@ gs_plugin_loader_process_thread_cb (GTask *task,
gs_app_list_filter (list, gs_plugin_loader_get_app_is_compatible, plugin_loader);
break;
case GS_PLUGIN_ACTION_GET_CATEGORY_APPS:
+ g_debug ("%s: app list length = %d", G_STRLOC, gs_app_list_length (list));
+ for (guint i = 0; i < gs_app_list_length (list); i++) {
+ GsApp *app = gs_app_list_index (list, i);
+ g_debug ("%s\n\n", gs_app_to_string (app));
+ }
gs_app_list_filter (list, gs_plugin_loader_app_is_valid_filter, helper);
+ g_debug ("%s: app list length = %d", G_STRLOC, gs_app_list_length (list));
+ for (guint i = 0; i < gs_app_list_length (list); i++) {
+ GsApp *app = gs_app_list_index (list, i);
+ g_debug ("%s\n\n", gs_app_to_string (app));
+ }
gs_app_list_filter (list, gs_plugin_loader_filter_qt_for_gtk, NULL);
+ g_debug ("%s: app list length = %d", G_STRLOC, gs_app_list_length (list));
+ for (guint i = 0; i < gs_app_list_length (list); i++) {
+ GsApp *app = gs_app_list_index (list, i);
+ g_debug ("%s\n\n", gs_app_to_string (app));
+ }
gs_app_list_filter (list, gs_plugin_loader_get_app_is_compatible, plugin_loader);
+ g_debug ("%s: app list length = %d", G_STRLOC, gs_app_list_length (list));
+ for (guint i = 0; i < gs_app_list_length (list); i++) {
+ GsApp *app = gs_app_list_index (list, i);
+ g_debug ("%s\n\n", gs_app_to_string (app));
+ }
break;
case GS_PLUGIN_ACTION_GET_FEATURED:
if (g_getenv ("GNOME_SOFTWARE_FEATURED") != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]