[gnome-software] Fix depsolver when using gs_plugin_order_before()
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fix depsolver when using gs_plugin_order_before()
- Date: Thu, 19 May 2016 10:08:05 +0000 (UTC)
commit 50b8c6af592c9ec518ef98bac21925d8ecb0c195
Author: Richard Hughes <richard hughsie com>
Date: Thu May 19 10:22:08 2016 +0100
Fix depsolver when using gs_plugin_order_before()
src/gs-plugin-loader.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 9ad19c2..d9624d2 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3428,7 +3428,7 @@ gs_plugin_loader_setup (GsPluginLoader *plugin_loader,
}
if (!gs_plugin_get_enabled (dep))
continue;
- if (gs_plugin_get_priority (plugin) <= gs_plugin_get_priority (dep)) {
+ if (gs_plugin_get_priority (plugin) >= gs_plugin_get_priority (dep)) {
g_debug ("%s [%i] to be ordered before %s [%i] "
"so promoting to [%i]",
gs_plugin_get_name (plugin),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]