[gnome-software] trivial: Sort the plugins after doing the conficts step
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Sort the plugins after doing the conficts step
- Date: Sun, 22 May 2016 07:56:39 +0000 (UTC)
commit 53913a80552cbd70fc80e84c83a4d1bb70b79643
Author: Richard Hughes <richard hughsie com>
Date: Sat May 21 13:53:51 2016 +0100
trivial: Sort the plugins after doing the conficts step
src/gs-plugin-loader.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index d8ef1f1..3685955 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3395,10 +3395,6 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader,
}
} while (changes);
- /* sort by priority */
- g_ptr_array_sort (priv->plugins,
- gs_plugin_loader_plugin_sort_fn);
-
/* run the plugins */
gs_plugin_loader_run (plugin_loader, "gs_plugin_initialize");
@@ -3424,6 +3420,10 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader,
}
}
+ /* sort by priority */
+ g_ptr_array_sort (priv->plugins,
+ gs_plugin_loader_plugin_sort_fn);
+
/* run setup */
for (i = 0; i < priv->plugins->len; i++) {
GsPluginSetupFunc plugin_func = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]