From 9b953829fbf1332d00c2ca8a99c7da5e4bda8c64 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 11 Jul 2012 06:56:07 +0200 Subject: css: Introduce _gtk_css_value_compute() This commit is essentially a large reorganization. Instead of all value subtypes having their own compute function, there is the general _gtk_css_value_compute() function that then calls a vfunc on the subtype. --- gtk/gtkcssarrayvalueprivate.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gtk/gtkcssarrayvalueprivate.h') diff --git a/gtk/gtkcssarrayvalueprivate.h b/gtk/gtkcssarrayvalueprivate.h index ad3ae3c428..3c0277c2a2 100644 --- a/gtk/gtkcssarrayvalueprivate.h +++ b/gtk/gtkcssarrayvalueprivate.h @@ -33,9 +33,6 @@ GtkCssValue * _gtk_css_array_value_parse (GtkCssParser * 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); -- cgit v1.2.1