[gnome-software/wip/build-break] snap: Fix a build break (unknown variable)



commit 1bbe845d548f7c5146d0cde978a3622172c396c9
Author: Milan Crha <mcrha redhat com>
Date:   Thu Dec 2 11:32:56 2021 +0100

    snap: Fix a build break (unknown variable)

 plugins/snap/gs-plugin-snap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index 0c00bc130..4fc92f8ab 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -359,7 +359,7 @@ snap_to_app (GsPluginSnap *self, SnapdSnap *snap, const gchar *branch)
                gs_plugin_cache_add (GS_PLUGIN (self), cache_id, app);
        }
 
-       gs_app_set_management_plugin (app, plugin);
+       gs_app_set_management_plugin (app, GS_PLUGIN (self));
        gs_app_add_quirk (app, GS_APP_QUIRK_DO_NOT_AUTO_UPDATE);
        if (gs_app_get_kind (app) != AS_COMPONENT_KIND_DESKTOP_APP)
                gs_app_add_quirk (app, GS_APP_QUIRK_NOT_LAUNCHABLE);


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