[gnome-software/wip/kalev/flatpak-version-matching-fixes] flatpak: trivial: Avoid adding the branch twice
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/kalev/flatpak-version-matching-fixes] flatpak: trivial: Avoid adding the branch twice
- Date: Mon, 8 Jul 2019 14:58:01 +0000 (UTC)
commit f703f6b690d0492a675ec8944d239b4c6d4877c2
Author: Kalev Lember <klember redhat com>
Date: Mon Jul 8 17:55:59 2019 +0300
flatpak: trivial: Avoid adding the branch twice
We already add it a bit above in the same function.
plugins/flatpak/gs-flatpak.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index ffcfeac2..97370ff9 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -1804,7 +1804,6 @@ gs_flatpak_create_runtime (GsFlatpak *self, GsApp *parent, const gchar *runtime)
gs_flatpak_app_set_ref_kind (app, FLATPAK_REF_KIND_RUNTIME);
gs_flatpak_app_set_ref_name (app, split[0]);
gs_flatpak_app_set_ref_arch (app, split[1]);
- gs_app_set_branch (app, split[2]);
/* save in the cache */
gs_plugin_cache_add (self->plugin, NULL, app);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]