[gnome-software/wip/rancell/paid] Fix using wrong array for prices



commit 2224e4d468ec0f33178d887e2e3d717f075c6e1c
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu May 5 16:42:42 2016 +1200

    Fix using wrong array for prices

 src/gs-app.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index 8408afb..ae591ac 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -1778,7 +1778,7 @@ void
 gs_app_add_price (GsApp *app, guint amount, const gchar *currency)
 {
        g_return_if_fail (GS_IS_APP (app));
-       g_ptr_array_add (app->reviews, gs_price_new (amount, currency));
+       g_ptr_array_add (app->prices, gs_price_new (amount, currency));
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]