[gnome-software/1699-crash-under-gs_plugin_flatpak_find_app_by_ref] flatpak: Correct typo of runtime refine in refine_app()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-software/1699-crash-under-gs_plugin_flatpak_find_app_by_ref] flatpak: Correct typo of runtime refine in refine_app()
- Date: Mon, 20 Jun 2022 19:19:35 +0000 (UTC)
commit 4364869a2c9af2819ea50d969bd4ed5f35abbc88
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 9f4cc40a7..bd0bacd49 100644
--- a/plugins/flatpak/gs-plugin-flatpak.c
+++ b/plugins/flatpak/gs-plugin-flatpak.c
@@ -545,7 +545,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]