[gnome-builder] flatpak: remove use of libflatpak API from manifest
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] flatpak: remove use of libflatpak API from manifest
- Date: Wed, 5 May 2021 04:39:12 +0000 (UTC)
commit 957e2df818562004e9ac6f496e7650a6d9e59d18
Author: Christian Hergert <chergert redhat com>
Date: Tue May 4 21:35:46 2021 -0700
flatpak: remove use of libflatpak API from manifest
src/plugins/flatpak/gbp-flatpak-manifest.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/flatpak/gbp-flatpak-manifest.c b/src/plugins/flatpak/gbp-flatpak-manifest.c
index af686141a..6b00b355e 100644
--- a/src/plugins/flatpak/gbp-flatpak-manifest.c
+++ b/src/plugins/flatpak/gbp-flatpak-manifest.c
@@ -101,7 +101,7 @@ validate_properties (GbpFlatpakManifest *self,
}
name = self->runtime;
- arch = flatpak_get_default_arch ();
+ arch = gbp_flatpak_get_default_arch (IDE_OBJECT (self));
branch = "master";
if (self->runtime_version != NULL)
branch = self->runtime_version;
@@ -1080,7 +1080,7 @@ gbp_flatpak_manifest_get_runtimes (GbpFlatpakManifest *self,
ar = g_ptr_array_new ();
if (for_arch == NULL)
- for_arch = flatpak_get_default_arch ();
+ for_arch = gbp_flatpak_get_default_arch (IDE_OBJECT (self));
if (self->runtime_version != NULL)
runtime_version = self->runtime_version;
@@ -1147,7 +1147,7 @@ gbp_flatpak_manifest_resolve_extensions (GbpFlatpakManifest *self,
sdk = g_strdup_printf ("%s/%s/%s",
self->sdk,
- flatpak_get_default_arch (),
+ gbp_flatpak_get_default_arch (IDE_OBJECT (self)),
self->runtime_version);
for (guint i = 0; self->sdk_extensions[i]; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]