[gnome-software/wip/rancell/reviews: 33/33] Add self_review in GsApp.to_string
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/reviews: 33/33] Add self_review in GsApp.to_string
- Date: Wed, 3 Feb 2016 03:59:10 +0000 (UTC)
commit 478b4f3a911c2777d640286382111e38bfb1b10a
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Feb 3 16:44:11 2016 +1300
Add self_review in GsApp.to_string
src/gs-app.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index 9db518d..be74ea6 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -291,6 +291,8 @@ gs_app_to_string (GsApp *app)
g_string_append_printf (str, "\torigin-ui:\t%s\n", app->origin_ui);
if (app->rating != -1)
g_string_append_printf (str, "\trating:\t%i\n", app->rating);
+ if (app->self_review != NULL)
+ g_string_append_printf (str, "\tself-review:\t%p\n", app->self_review);
if (app->reviews != NULL)
g_string_append_printf (str, "\treviews:\t%p\n", app->reviews);
if (app->pixbuf != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]