[gnome-software/mwleeds/pwa-plugin] fixup! Revive webapp support



commit 3602560b78545e971dc856253e0b191b83e90901
Author: Phaedrus Leeds <mwleeds protonmail com>
Date:   Thu Feb 24 15:18:55 2022 -0800

    fixup! Revive webapp support

 plugins/epiphany/gs-plugin-epiphany.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/epiphany/gs-plugin-epiphany.c b/plugins/epiphany/gs-plugin-epiphany.c
index 574f3d92d..73b1f3711 100644
--- a/plugins/epiphany/gs-plugin-epiphany.c
+++ b/plugins/epiphany/gs-plugin-epiphany.c
@@ -255,7 +255,7 @@ gs_plugin_epiphany_init (GsPluginEpiphany *self)
        gs_plugin_add_rule (GS_PLUGIN (self), GS_PLUGIN_RULE_RUN_AFTER, "appstream");
 
        /* prioritize over packages */
-       gs_plugin_add_rule (plugin, GS_PLUGIN_RULE_BETTER_THAN, "packagekit");
+       gs_plugin_add_rule (GS_PLUGIN (self), GS_PLUGIN_RULE_BETTER_THAN, "packagekit");
 }
 
 static void
@@ -322,11 +322,11 @@ gs_epiphany_create_app (GsPluginEpiphany *self,
        gs_app_set_kind (tmp_app, AS_COMPONENT_KIND_WEB_APP);
        gs_app_set_scope (tmp_app, AS_COMPONENT_SCOPE_USER);
 
-       app_cached = gs_plugin_cache_lookup (self->plugin, gs_app_get_unique_id (tmp_app));
+       app_cached = gs_plugin_cache_lookup (GS_PLUGIN (self), gs_app_get_unique_id (tmp_app));
        if (app_cached != NULL)
                return g_steal_pointer (&app_cached);
 
-       gs_plugin_cache_add (self->plugin, NULL, app_tmp);
+       gs_plugin_cache_add (GS_PLUGIN (self), NULL, tmp_app);
        return g_steal_pointer (&tmp_app);
 }
 


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