[gnome-software] update dialog: trivial: Add debug
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] update dialog: trivial: Add debug
- Date: Fri, 5 Oct 2018 13:01:17 +0000 (UTC)
commit a414e62e9274eaecdd7fe6fac0809a8a0a5d0a68
Author: Kalev Lember <klember redhat com>
Date: Fri Oct 5 14:33:55 2018 +0200
update dialog: trivial: Add debug
src/gs-update-dialog.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/gs-update-dialog.c b/src/gs-update-dialog.c
index c34f51d6..23dd1b07 100644
--- a/src/gs-update-dialog.c
+++ b/src/gs-update-dialog.c
@@ -539,8 +539,11 @@ void
gs_update_dialog_show_update_details (GsUpdateDialog *dialog, GsApp *app)
{
AsAppKind kind;
+ g_autofree gchar *str = NULL;
- kind = gs_app_get_kind (app);
+ /* debug */
+ str = gs_app_to_string (app);
+ g_debug ("%s", str);
/* set update header */
set_updates_description_ui (dialog, app);
@@ -550,6 +553,7 @@ gs_update_dialog_show_update_details (GsUpdateDialog *dialog, GsApp *app)
unset_focus (GTK_WIDGET (dialog));
/* set update description */
+ kind = gs_app_get_kind (app);
if (kind == AS_APP_KIND_OS_UPDATE) {
GsAppList *related;
GsApp *app_related;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]