[gnome-builder/wip/extensions] extension-point: fix sort order so lower value is higher priority
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/extensions] extension-point: fix sort order so lower value is higher priority
- Date: Sat, 27 Jun 2015 08:48:15 +0000 (UTC)
commit 197240894f1c66a4ba4568b5b3149d1e9177599e
Author: Christian Hergert <christian hergert me>
Date: Sat Jun 27 01:47:49 2015 -0700
extension-point: fix sort order so lower value is higher priority
libide/ide-extension-point.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-extension-point.c b/libide/ide-extension-point.c
index e964e8a..7d502ff 100644
--- a/libide/ide-extension-point.c
+++ b/libide/ide-extension-point.c
@@ -327,7 +327,7 @@ compare_extension (gconstpointer a,
if (exta->priority == extb->priority)
return g_strcmp0 (g_type_name (exta->type), g_type_name (extb->type));
- return exta->priority - extb->priority;
+ return extb->priority - exta->priority;
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]