[gnome-software: 3/20] gs-application: Remove redundant call to initialize_plugins()
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 3/20] gs-application: Remove redundant call to initialize_plugins()
- Date: Thu, 17 Mar 2022 10:27:10 +0000 (UTC)
commit 58ab9cfaed091214c840a020b3513d9e3bfd0782
Author: Philip Withnall <pwithnall endlessos org>
Date: Mon Mar 7 14:55:16 2022 +0000
gs-application: Remove redundant call to initialize_plugins()
`reboot_and_install()` is called from `GActionMap`, and the
`GApplication` implementation of that guarantees to call `startup()`
first. `startup()` already calls `initialize_plugins()`.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Helps: #1670
src/gs-application.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index 9028ed34e..ce2770134 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -404,7 +404,7 @@ reboot_and_install (GSimpleAction *action,
{
GsApplication *app = GS_APPLICATION (data);
g_autoptr(GsPluginJob) plugin_job = NULL;
- gs_application_initialize_plugins (app);
+
plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_UPDATE, NULL);
gs_plugin_loader_job_process_async (app->plugin_loader, plugin_job,
app->cancellable,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]