[gnome-software/mwleeds/hardcoded-pwa-list] fixup! epiphany: Refine appstream-provided web apps
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/mwleeds/hardcoded-pwa-list] fixup! epiphany: Refine appstream-provided web apps
- Date: Mon, 16 May 2022 21:46:29 +0000 (UTC)
commit 7a0887a4220e608c307702d6af3c4c44bd552b4f
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Mon May 16 14:09:41 2022 -0700
fixup! epiphany: Refine appstream-provided web apps
plugins/epiphany/gs-plugin-epiphany.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/plugins/epiphany/gs-plugin-epiphany.c b/plugins/epiphany/gs-plugin-epiphany.c
index 4a2812f02..8eb4dca24 100644
--- a/plugins/epiphany/gs-plugin-epiphany.c
+++ b/plugins/epiphany/gs-plugin-epiphany.c
@@ -333,9 +333,9 @@ gs_plugin_epiphany_finalize (GObject *object)
G_OBJECT_CLASS (gs_plugin_epiphany_parent_class)->finalize (object);
}
-static gboolean refresh_installed_apps_cache (GsPluginEpiphany *self,
- GCancellable *cancellable,
- GError **error);
+static gboolean ensure_installed_apps_cache (GsPluginEpiphany *self,
+ GCancellable *cancellable,
+ GError **error);
/* Run in @worker */
static void
@@ -351,7 +351,7 @@ gs_epiphany_refine_app_state (GsPlugin *plugin,
g_autoptr(GError) local_error = NULL;
const char *appstream_source;
- if (!refresh_installed_apps_cache (self, NULL, &local_error)) {
+ if (!ensure_installed_apps_cache (self, NULL, &local_error)) {
g_warning ("Failed to refresh installed apps cache: %s", local_error->message);
return;
}
@@ -591,9 +591,9 @@ gs_epiphany_create_app (GsPluginEpiphany *self,
/* Run in @worker */
static gboolean
-refresh_installed_apps_cache (GsPluginEpiphany *self,
- GCancellable *cancellable,
- GError **error)
+ensure_installed_apps_cache (GsPluginEpiphany *self,
+ GCancellable *cancellable,
+ GError **error)
{
g_autoptr(GVariant) webapps_v = NULL;
g_auto(GStrv) webapps = NULL;
@@ -723,7 +723,7 @@ list_installed_apps_thread_cb (GTask *task,
g_autoptr(GsAppList) list = gs_app_list_new ();
g_autoptr(GError) local_error = NULL;
- if (!refresh_installed_apps_cache (self, cancellable, &local_error)) {
+ if (!ensure_installed_apps_cache (self, cancellable, &local_error)) {
g_task_return_error (task, g_steal_pointer (&local_error));
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]