ui/common/context.h

changeset 103
6606616eca9f
parent 88
e27526429d85
child 108
77254bd6dccb
--- a/ui/common/context.h	Tue Feb 25 21:11:00 2025 +0100
+++ b/ui/common/context.h	Sat Apr 05 16:46:11 2025 +0200
@@ -45,9 +45,7 @@
 typedef struct UiListVar     UiListVar;
 typedef struct UiGroupWidget UiGroupWidget;
 
-typedef enum UiVarType UiVarType;
-
-enum UiVarType {
+typedef enum UiVarType {
     UI_VAR_SPECIAL = 0,
     UI_VAR_INTEGER,
     UI_VAR_DOUBLE,
@@ -56,7 +54,7 @@
     UI_VAR_LIST,
     UI_VAR_RANGE,
     UI_VAR_GENERIC
-};
+} UiVarType;
 
 struct UiContext {
     UiContext     *parent;

mercurial