[gnome-software/gnome-3-22] gs-flatpak: Set the app's real branch when setting up its metadata
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-22] gs-flatpak: Set the app's real branch when setting up its metadata
- Date: Tue, 6 Dec 2016 11:56:08 +0000 (UTC)
commit 90a6985c1d530624ec127c296ed1cc313827d2f1
Author: Joaquim Rocha <jrocha endlessm com>
Date: Fri Dec 2 16:18:37 2016 +0100
gs-flatpak: Set the app's real branch when setting up its metadata
Otherwise there can be a discrepancy between the app's flatpak branch
(metadata) and its real branch which can lead to problems.
src/plugins/gs-flatpak.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index a65e613..e6aaedc 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -547,6 +547,7 @@ gs_flatpak_set_metadata (GsFlatpak *self, GsApp *app, FlatpakRef *xref)
{
gs_app_set_bundle_kind (app, AS_BUNDLE_KIND_FLATPAK);
gs_app_set_management_plugin (app, gs_plugin_get_name (self->plugin));
+ gs_app_set_branch (app, flatpak_ref_get_branch (xref));
gs_app_set_flatpak_kind (app, flatpak_ref_get_kind (xref));
gs_app_set_flatpak_name (app, flatpak_ref_get_name (xref));
gs_app_set_flatpak_arch (app, flatpak_ref_get_arch (xref));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]