aboutsummaryrefslogtreecommitdiff
path: root/includes/info.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/info.h')
-rw-r--r--includes/info.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/includes/info.h b/includes/info.h
index f2d442f4..f85ab39c 100644
--- a/includes/info.h
+++ b/includes/info.h
@@ -21,7 +21,7 @@
#include <stdarg.h>
#include <glib.h>
-enum {
+enum InfoGroupSort {
INFO_GROUP_SORT_NONE,
INFO_GROUP_SORT_NAME_ASCENDING,
INFO_GROUP_SORT_NAME_DESCENDING,
@@ -29,6 +29,7 @@ enum {
INFO_GROUP_SORT_VALUE_DESCENDING,
INFO_GROUP_SORT_TAG_ASCENDING,
INFO_GROUP_SORT_TAG_DESCENDING,
+ INFO_GROUP_SORT_MAX,
};
struct Info {
@@ -47,7 +48,7 @@ struct Info {
struct InfoGroup {
const gchar *name;
- int sort;
+ enum InfoGroupSort sort;
GArray *fields;