diff options
author | Benjamin Otte <otte@redhat.com> | 2012-04-03 11:49:46 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:17 +0200 |
commit | ca17270187ba93eed687cbb223e23a1795736e08 (patch) | |
tree | f227b6d31224eae471a55a50a7c104ae37e39838 /gtk/gtkcssarrayvalueprivate.h | |
parent | c5878e8f6fe9931e2241ffe9eb501b8305d1bae4 (diff) | |
download | gtk+-ca17270187ba93eed687cbb223e23a1795736e08.tar.gz |
cssvalue: Make GtkCssShadowValue only hold one shadow
All the properties now are a GtkCssArrayValue of GtkCssSadowValue.
GtkCssArrayValue already does everything we want, so no need to
duplicate its funtionality.
Diffstat (limited to 'gtk/gtkcssarrayvalueprivate.h')
-rw-r--r-- | gtk/gtkcssarrayvalueprivate.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkcssarrayvalueprivate.h b/gtk/gtkcssarrayvalueprivate.h index 38443b512c..ad3ae3c428 100644 --- a/gtk/gtkcssarrayvalueprivate.h +++ b/gtk/gtkcssarrayvalueprivate.h @@ -22,6 +22,7 @@ #include "gtkcssparserprivate.h" #include "gtkcssvalueprivate.h" +#include "gtktypes.h" G_BEGIN_DECLS @@ -29,9 +30,12 @@ GtkCssValue * _gtk_css_array_value_new (GtkCssValue * GtkCssValue * _gtk_css_array_value_new_from_array (GtkCssValue **values, guint n_values); GtkCssValue * _gtk_css_array_value_parse (GtkCssParser *parser, - GtkCssValue * (* parse_func) (GtkCssParser *parser), + GtkCssValue * (* parse_func) (GtkCssParser *), gboolean allow_none); +GtkCssValue * _gtk_css_array_value_compute (GtkCssValue *value, + GtkCssValue * (* compute_func) (GtkCssValue *, GtkStyleContext *), + GtkStyleContext *context); GtkCssValue * _gtk_css_array_value_get_nth (const GtkCssValue *value, guint i); guint _gtk_css_array_value_get_n_values (const GtkCssValue *value); |