[gnome-software] trivial: Run gs_plugin_initialize() before depsolving



commit c9d39ba797fb13b4a0e25c0670f8ed657ea6f43b
Author: Richard Hughes <richard hughsie com>
Date:   Sat May 21 13:54:28 2016 +0100

    trivial: Run gs_plugin_initialize() before depsolving

 src/gs-plugin-loader.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 3685955..4b189fe 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3325,6 +3325,9 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader,
                }
        }
 
+       /* run the plugins */
+       gs_plugin_loader_run (plugin_loader, "gs_plugin_initialize");
+
        /* order by deps */
        do {
                changes = FALSE;
@@ -3395,9 +3398,6 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader,
                }
        } while (changes);
 
-       /* run the plugins */
-       gs_plugin_loader_run (plugin_loader, "gs_plugin_initialize");
-
        /* check for conflicts */
        for (i = 0; i < priv->plugins->len; i++) {
                plugin = g_ptr_array_index (priv->plugins, i);


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