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



commit ec5ca66a3337d937c47d17fca5b4b770d332e5e1
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Mon Oct 11 15:12:17 2021 -0700

    fixup! flatpak: Migrate flatpakref handling to FlatpakTransaction

 plugins/flatpak/gs-flatpak.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 21b6289d7..79e3999ad 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -3533,6 +3533,7 @@ gs_flatpak_file_to_app_ref (GsFlatpak *self,
                gs_flatpak_error_convert (error);
                return NULL;
        }
+       flatpak_transaction_set_no_interaction (transaction, TRUE);
        g_signal_connect (transaction, "ready", G_CALLBACK (_abort_on_txn_ready), NULL);
        ref_file_data = g_bytes_new (contents, len);
        if (!flatpak_transaction_add_install_flatpakref (transaction, ref_file_data, error)) {


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