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.
This commit is contained in:
		| @ -40,9 +40,6 @@ GtkCssValue *   _gtk_css_border_value_get_right     (const GtkCssValue      *val | ||||
| GtkCssValue *   _gtk_css_border_value_get_bottom    (const GtkCssValue      *value); | ||||
| GtkCssValue *   _gtk_css_border_value_get_left      (const GtkCssValue      *value); | ||||
|  | ||||
| GtkCssValue *   _gtk_css_border_value_compute       (GtkCssValue            *border, | ||||
|                                                      GtkStyleContext        *context); | ||||
|  | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Benjamin Otte
					Benjamin Otte