summaryrefslogtreecommitdiff
path: root/gtk/gtkcsssection.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-06-17 05:58:04 +0200
committerBenjamin Otte <otte@redhat.com>2011-08-26 16:26:27 +0200
commit0d1b73f8570499da9eecea8136bcd6ea519a0d84 (patch)
tree4431696adf9fc1d06148ed6a1a62cca8d77029d3 /gtk/gtkcsssection.h
parentebf0b6ee4dcea17b376efedeee1ee8a158d8f969 (diff)
downloadgtk+-0d1b73f8570499da9eecea8136bcd6ea519a0d84.tar.gz
cssprovider: Store sections with parsed values
Also create a separate section for values to associate the values with. Finally, use this section information when delayed-parsing a widget style property.
Diffstat (limited to 'gtk/gtkcsssection.h')
-rw-r--r--gtk/gtkcsssection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcsssection.h b/gtk/gtkcsssection.h
index 761ebd1102..06222eb467 100644
--- a/gtk/gtkcsssection.h
+++ b/gtk/gtkcsssection.h
@@ -40,6 +40,7 @@ G_BEGIN_DECLS
* @GTK_CSS_SECTION_SELECTOR: The section defines a CSS selector.
* @GTK_CSS_SECTION_DECLARATION: The section defines the declaration of
* a CSS variable.
+ * @GTK_CSS_SECTION_VALUE: The section defines the value of a CSS declaration.
*
* The different types of sections indicate parts of a CSS document as
* parsed by GTK's CSS parser. They are oriented towards the CSS grammar
@@ -60,6 +61,7 @@ typedef enum
GTK_CSS_SECTION_RULESET,
GTK_CSS_SECTION_SELECTOR,
GTK_CSS_SECTION_DECLARATION,
+ GTK_CSS_SECTION_VALUE
} GtkCssSectionType;
typedef struct _GtkCssSection GtkCssSection;