[gnome-software/mwleeds/fix-deprecated-install] fixup! flatpak: Migrate flatpakref handling to FlatpakTransaction



commit caa7c87c3e6d6e4f08922264ecbc7f8dd44f6fc6
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Mon Oct 11 13:59:10 2021 -0700

    fixup! flatpak: Migrate flatpakref handling to FlatpakTransaction

 plugins/flatpak/gs-flatpak.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index ec2fd5ca1..959835278 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -3457,8 +3457,9 @@ gs_flatpak_file_to_app_ref (GsFlatpak *self,
        gsize len = 0;
        GList *txn_ops;
        g_autofree gchar *contents = NULL;
+       g_autoptr(FlatpakTransaction) transaction = NULL;
        g_autoptr(FlatpakRef) parsed_ref = NULL;
-       g_autoptr(FlatpakRemoteRef) xref = NULL;
+       g_autoptr(FlatpakRemoteRef) remote_ref = NULL;
        g_autoptr(FlatpakRemote) xremote = NULL;
        g_autoptr(GBytes) ref_file_data = NULL;
        g_autoptr(GError) error_local = NULL;


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