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



commit 3bbd03adeedf7b0b1335be2994e5950784e8cc94
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Mon Oct 11 14:56:29 2021 -0700

    fixup! flatpak: Migrate flatpakref handling to FlatpakTransaction

 plugins/flatpak/gs-flatpak.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/flatpak/gs-flatpak.c b/plugins/flatpak/gs-flatpak.c
index 959835278..21b6289d7 100644
--- a/plugins/flatpak/gs-flatpak.c
+++ b/plugins/flatpak/gs-flatpak.c
@@ -3522,7 +3522,7 @@ gs_flatpak_file_to_app_ref (GsFlatpak *self,
                return NULL;
        }
        is_runtime = g_key_file_get_boolean (kf, "Flatpak Ref", "IsRuntime", error);
-       if (error != NULL) {
+       if (error != NULL && *error != NULL) {
                gs_utils_error_convert_gio (error);
                return NULL;
        }


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