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)); 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) if (!success)

View File

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

View File

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

View File

@ -24,11 +24,11 @@
G_BEGIN_DECLS G_BEGIN_DECLS
gboolean _gtk_css_style_parse_value (GValue *value, gboolean _gtk_css_style_funcs_parse_value (GValue *value,
GtkCssParser *parser); GtkCssParser *parser);
void _gtk_css_style_print_value (const GValue *value, void _gtk_css_style_funcs_print_value (const GValue *value,
GString *string); GString *string);
GtkCssValue * _gtk_css_style_compute_value (GtkStyleProviderPrivate *provider, GtkCssValue * _gtk_css_style_funcs_compute_value (GtkStyleProviderPrivate *provider,
GtkCssComputedValues *values, GtkCssComputedValues *values,
GtkCssComputedValues *parent_values, GtkCssComputedValues *parent_values,
GType target_type, 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)); 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 static gboolean
@ -68,7 +68,7 @@ static void
gtk_css_value_typed_print (const GtkCssValue *value, gtk_css_value_typed_print (const GtkCssValue *value,
GString *string) 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 = { static const GtkCssValueClass GTK_CSS_VALUE_TYPED = {