[gnome-software: 5/20] gs-application: Remove redundant call to initialize_plugins()




commit 4b61c231ef1920a73e11b439d6aa2def87348c92
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Mar 7 14:57:32 2022 +0000

    gs-application: Remove redundant call to initialize_plugins()
    
    It’s already called higher up in the function, when setting up the
    search provider.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1670

 src/gs-application.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index 79995646a..ea1b0dc19 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -1018,8 +1018,6 @@ gs_application_startup (GApplication *application)
                                  G_CALLBACK (gs_application_settings_changed_cb),
                                  application);
 
-       gs_application_initialize_plugins (app);
-
        /* setup UI */
        app->shell = gs_shell_new ();
        app->cancellable = g_cancellable_new ();


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