[gnome-software: 6/20] gs-application: Make search provider setup unconditional
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 6/20] gs-application: Make search provider setup unconditional
- Date: Thu, 17 Mar 2022 10:27:10 +0000 (UTC)
commit f33bfa8c269d433f2a8fd9c73d2fdc68a09d0d75
Author: Philip Withnall <pwithnall endlessos org>
Date: Mon Mar 7 15:06:50 2022 +0000
gs-application: Make search provider setup unconditional
The `search_provider` has always been created in `dbus_register()`
before `startup()` is called.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
src/gs-application.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index ea1b0dc19..dfc342f78 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -1006,8 +1006,7 @@ gs_application_startup (GApplication *application)
gs_application_initialize_plugins (app);
- if (app->search_provider)
- gs_shell_search_provider_setup (app->search_provider, app->plugin_loader);
+ gs_shell_search_provider_setup (app->search_provider, app->plugin_loader);
#ifdef HAVE_PACKAGEKIT
GS_APPLICATION (application)->dbus_helper = gs_dbus_helper_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]