[gnome-software/wip/william/cherry-pick] ubuntu-reviews: Don't set an ID on the GsApps we create
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/william/cherry-pick] ubuntu-reviews: Don't set an ID on the GsApps we create
- Date: Wed, 25 May 2016 15:35:24 +0000 (UTC)
commit a14de8d0127afc73478de3320a44529c9d66442b
Author: Iain Lane <iain orangesquash org uk>
Date: Thu Apr 28 13:25:57 2016 +0100
ubuntu-reviews: Don't set an ID on the GsApps we create
We were setting this to the package name, but that's not right - it
should be the AppStream ID, which will be added elsewhere if it is
available.
src/plugins/gs-plugin-ubuntu-reviews.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-ubuntu-reviews.c b/src/plugins/gs-plugin-ubuntu-reviews.c
index 05d7812..d967260 100644
--- a/src/plugins/gs-plugin-ubuntu-reviews.c
+++ b/src/plugins/gs-plugin-ubuntu-reviews.c
@@ -1128,7 +1128,7 @@ gs_plugin_add_popular (GsPlugin *plugin,
if (entry->rating < 80)
break;
- app = gs_app_new (entry->package_name);
+ app = gs_app_new (NULL);
gs_app_add_source (app, entry->package_name);
gs_app_list_add (list, app);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]