summaryrefslogtreecommitdiff
path: root/gtk/gtkcssstylepropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-02 15:44:45 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:37:55 +0100
commite87cf5d7896746c8e9b81b037843c670f728287c (patch)
tree3e7cd8614154e458243d4e5e93d6db8d3bb16380 /gtk/gtkcssstylepropertyprivate.h
parent29382c130529caf94e037767b6dd3e2897071c0d (diff)
downloadgtk+-e87cf5d7896746c8e9b81b037843c670f728287c.tar.gz
css: Redo value resolving
Instead of on-demand resolvage, we now resolve during lookup. The step is done via _gtk_css_style_property_compute_value() which currently calls into _gtk_css_style_compute_value() That function has all the old resolving machinery. The only part missing for now is the handling of win32 code. It will be added back later.
Diffstat (limited to 'gtk/gtkcssstylepropertyprivate.h')
-rw-r--r--gtk/gtkcssstylepropertyprivate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkcssstylepropertyprivate.h b/gtk/gtkcssstylepropertyprivate.h
index 79516f4b40..c02a766892 100644
--- a/gtk/gtkcssstylepropertyprivate.h
+++ b/gtk/gtkcssstylepropertyprivate.h
@@ -63,9 +63,15 @@ guint _gtk_css_style_property_get_id (GtkCssStyleProp
const GValue * _gtk_css_style_property_get_initial_value
(GtkCssStyleProperty *property);
+void _gtk_css_style_property_compute_value (GtkCssStyleProperty *property,
+ GValue *computed,
+ GtkStyleContext *context,
+ const GValue *specified);
+
void _gtk_css_style_property_print_value (GtkCssStyleProperty *property,
const GValue *value,
GString *string);
+
G_END_DECLS