[gnome-software/gnome-3-30] update dialog: trivial: Add debug
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-30] update dialog: trivial: Add debug
- Date: Fri, 5 Oct 2018 13:00:46 +0000 (UTC)
commit 1c063f5b0434164c2dca1814ffcdb04f2431059a
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 42ba2613..862625ff 100644
--- a/src/gs-update-dialog.c
+++ b/src/gs-update-dialog.c
@@ -538,8 +538,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);
@@ -549,6 +552,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]