[gnome-software/wip/backport_merge_request_1409] flatpak: Correct typo of runtime refine in refine_app()



commit f8095ff615672ba4dbefaf856535f344ae6f8499
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 20 21:05:15 2022 +0200

    flatpak: Correct typo of runtime refine in refine_app()
    
    It was supposed to refine the 'runtime', but an 'app' was used.

 plugins/flatpak/gs-plugin-flatpak.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-plugin-flatpak.c b/plugins/flatpak/gs-plugin-flatpak.c
index 794dfa6ac..8c42e5080 100644
--- a/plugins/flatpak/gs-plugin-flatpak.c
+++ b/plugins/flatpak/gs-plugin-flatpak.c
@@ -605,7 +605,7 @@ refine_app (GsPluginFlatpak      *self,
        if (flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_RUNTIME) {
                GsApp *runtime = gs_app_get_runtime (app);
                if (runtime != NULL) {
-                       if (!gs_plugin_flatpak_refine_app (self, app,
+                       if (!gs_plugin_flatpak_refine_app (self, runtime,
                                                           flags,
                                                           interactive,
                                                           cancellable,


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