[gnome-software/gnome-3-22] trivial: Use the unique ID in the state debug messages
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] trivial: Use the unique ID in the state debug messages
- Date: Thu, 1 Dec 2016 14:34:41 +0000 (UTC)
commit 4375b36f13c9bcbbacaee8a15c9cfb92423519b8
Author: Richard Hughes <richard hughsie com>
Date: Tue Nov 29 16:15:43 2016 +0000
trivial: Use the unique ID in the state debug messages
src/gs-app.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index 9ae6a3a..cee6452 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -770,7 +770,7 @@ gs_app_set_state_internal (GsApp *app, AsAppState state)
/* this state change was unexpected */
if (!state_change_ok) {
g_warning ("State change on %s from %s to %s is not OK",
- app->id,
+ gs_app_get_unique_id (app),
as_app_state_to_string (app->state),
as_app_state_to_string (state));
return FALSE;
@@ -792,7 +792,8 @@ gs_app_set_state_internal (GsApp *app, AsAppState state)
default:
if (app->state_recover != state) {
g_debug ("%s non-transient state now %s",
- app->id, as_app_state_to_string (state));
+ gs_app_get_unique_id (app),
+ as_app_state_to_string (state));
app->state_recover = state;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]