[gnome-software: 1/7] contex-dialog-row: Sort 'neutral' after 'unimportant'




commit 407c67b7c66f754efd023cff0fa98106f324bc06
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Fri Feb 4 08:17:44 2022 +0100

    contex-dialog-row: Sort 'neutral' after 'unimportant'
    
    This will help sorting importances by the required vigilance in the
    following commit.

 src/gs-context-dialog-row.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-context-dialog-row.h b/src/gs-context-dialog-row.h
index 97b3681e1..85bb9edc0 100644
--- a/src/gs-context-dialog-row.h
+++ b/src/gs-context-dialog-row.h
@@ -19,8 +19,8 @@ G_BEGIN_DECLS
 
 /**
  * GsContextDialogRowImportance:
- * @GS_CONTEXT_DIALOG_ROW_IMPORTANCE_NEUTRAL: neutral or unknown importance
  * @GS_CONTEXT_DIALOG_ROW_IMPORTANCE_UNIMPORTANT: unimportant
+ * @GS_CONTEXT_DIALOG_ROW_IMPORTANCE_NEUTRAL: neutral or unknown importance
  * @GS_CONTEXT_DIALOG_ROW_IMPORTANCE_WARNING: a bit important
  * @GS_CONTEXT_DIALOG_ROW_IMPORTANCE_IMPORTANT: definitely important
  *
@@ -33,8 +33,8 @@ typedef enum
 {
        /* The code in this file relies on the fact that these enum values
         * numerically increase as they get more important. */
-       GS_CONTEXT_DIALOG_ROW_IMPORTANCE_NEUTRAL,
        GS_CONTEXT_DIALOG_ROW_IMPORTANCE_UNIMPORTANT,
+       GS_CONTEXT_DIALOG_ROW_IMPORTANCE_NEUTRAL,
        GS_CONTEXT_DIALOG_ROW_IMPORTANCE_WARNING,
        GS_CONTEXT_DIALOG_ROW_IMPORTANCE_IMPORTANT,
 } GsContextDialogRowImportance;


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