cssstylefuncs: Rename functions

This is in preaparation for the big GtkCssComputedValues => GtkCssStyle
rename
This commit is contained in:
Benjamin Otte 2014-10-22 22:36:38 +02:00
parent 314a168916
commit f51419adb0
5 changed files with 18 additions and 18 deletions

View File

@ -75,7 +75,7 @@ gtk_css_custom_property_parse_value (GtkStyleProperty *property,
{
g_value_init (&value, gtk_css_custom_property_get_specified_type (custom->pspec));
success = _gtk_css_style_parse_value (&value, parser);
success = _gtk_css_style_funcs_parse_value (&value, parser);
}
if (!success)

View File

@ -1727,8 +1727,8 @@ gtk_css_provider_get_style_property (GtkStyleProvider *provider,
val->section != NULL ? gtk_css_section_get_file (val->section) : NULL,
val->value);
found = _gtk_css_style_parse_value (value,
scanner->parser);
found = _gtk_css_style_funcs_parse_value (value,
scanner->parser);
gtk_css_scanner_destroy (scanner);

View File

@ -1075,8 +1075,8 @@ gtk_css_style_funcs_init (void)
* Returns: %TRUE if parsing succeeded.
**/
gboolean
_gtk_css_style_parse_value (GValue *value,
GtkCssParser *parser)
_gtk_css_style_funcs_parse_value (GValue *value,
GtkCssParser *parser)
{
GtkStyleParseFunc func;
@ -1111,8 +1111,8 @@ _gtk_css_style_parse_value (GValue *value,
* valid value, a random string will be printed instead.
**/
void
_gtk_css_style_print_value (const GValue *value,
GString *string)
_gtk_css_style_funcs_print_value (const GValue *value,
GString *string)
{
GtkStylePrintFunc func;
@ -1153,12 +1153,12 @@ _gtk_css_style_print_value (const GValue *value,
* Returns: the resulting value
**/
GtkCssValue *
_gtk_css_style_compute_value (GtkStyleProviderPrivate *provider,
GtkCssComputedValues *values,
GtkCssComputedValues *parent_values,
GType target_type,
GtkCssValue *specified,
GtkCssDependencies *dependencies)
_gtk_css_style_funcs_compute_value (GtkStyleProviderPrivate *provider,
GtkCssComputedValues *values,
GtkCssComputedValues *parent_values,
GType target_type,
GtkCssValue *specified,
GtkCssDependencies *dependencies)
{
GtkStyleComputeFunc func;

View File

@ -24,11 +24,11 @@
G_BEGIN_DECLS
gboolean _gtk_css_style_parse_value (GValue *value,
gboolean _gtk_css_style_funcs_parse_value (GValue *value,
GtkCssParser *parser);
void _gtk_css_style_print_value (const GValue *value,
void _gtk_css_style_funcs_print_value (const GValue *value,
GString *string);
GtkCssValue * _gtk_css_style_compute_value (GtkStyleProviderPrivate *provider,
GtkCssValue * _gtk_css_style_funcs_compute_value (GtkStyleProviderPrivate *provider,
GtkCssComputedValues *values,
GtkCssComputedValues *parent_values,
GType target_type,

View File

@ -45,7 +45,7 @@ gtk_css_value_typed_compute (GtkCssValue *value,
{
GtkCssCustomProperty *custom = GTK_CSS_CUSTOM_PROPERTY (_gtk_css_style_property_lookup_by_id (property_id));
return _gtk_css_style_compute_value (provider, values, parent_values, custom->pspec->value_type, value, dependencies);
return _gtk_css_style_funcs_compute_value (provider, values, parent_values, custom->pspec->value_type, value, dependencies);
}
static gboolean
@ -68,7 +68,7 @@ static void
gtk_css_value_typed_print (const GtkCssValue *value,
GString *string)
{
_gtk_css_style_print_value (&value->value, string);
_gtk_css_style_funcs_print_value (&value->value, string);
}
static const GtkCssValueClass GTK_CSS_VALUE_TYPED = {