summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstyleprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-01-31 17:48:36 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-02-01 09:11:22 +0100
commit7027fc9ab6e523ed359ae2ac92f997ee82d81560 (patch)
tree1fed90a2f9fb01a49c86beca5c50d6980980ed5a /gtk/gtkcssstyleprivate.h
parent09612a1b3c92d0bac3d566a64664b0f2efc14069 (diff)
downloadgtk+-7027fc9ab6e523ed359ae2ac92f997ee82d81560.tar.gz
Make it easy to recognize initial style values
Reuse the type field in GtkCssValues to make initial style values easily recognizable.
Diffstat (limited to 'gtk/gtkcssstyleprivate.h')
-rw-r--r--gtk/gtkcssstyleprivate.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/gtk/gtkcssstyleprivate.h b/gtk/gtkcssstyleprivate.h
index 2a0af9ce90..8cf069c98d 100644
--- a/gtk/gtkcssstyleprivate.h
+++ b/gtk/gtkcssstyleprivate.h
@@ -37,16 +37,27 @@ G_BEGIN_DECLS
typedef enum {
GTK_CSS_CORE_VALUES,
+ GTK_CSS_CORE_INITIAL_VALUES,
GTK_CSS_BACKGROUND_VALUES,
+ GTK_CSS_BACKGROUND_INITIAL_VALUES,
GTK_CSS_BORDER_VALUES,
+ GTK_CSS_BORDER_INITIAL_VALUES,
GTK_CSS_ICON_VALUES,
+ GTK_CSS_ICON_INITIAL_VALUES,
GTK_CSS_OUTLINE_VALUES,
+ GTK_CSS_OUTLINE_INITIAL_VALUES,
GTK_CSS_FONT_VALUES,
+ GTK_CSS_FONT_INITIAL_VALUES,
GTK_CSS_FONT_VARIANT_VALUES,
+ GTK_CSS_FONT_VARIANT_INITIAL_VALUES,
GTK_CSS_ANIMATION_VALUES,
+ GTK_CSS_ANIMATION_INITIAL_VALUES,
GTK_CSS_TRANSITION_VALUES,
+ GTK_CSS_TRANSITION_INITIAL_VALUES,
GTK_CSS_SIZE_VALUES,
- GTK_CSS_OTHER_VALUES
+ GTK_CSS_SIZE_INITIAL_VALUES,
+ GTK_CSS_OTHER_VALUES,
+ GTK_CSS_OTHER_INITIAL_VALUES,
} GtkCssValuesType;
typedef struct _GtkCssValues GtkCssValues;