summaryrefslogtreecommitdiff
path: root/gtk/deprecated/gtkgradient.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-10-22 23:41:50 +0200
committerBenjamin Otte <otte@redhat.com>2015-01-07 14:26:46 +0100
commit572f46067f44da99e9ee0ea3210e1c0fac148928 (patch)
treeb6ce55172ca2708e60b3ef98ad357ff2c6ac42a0 /gtk/deprecated/gtkgradient.c
parentf51419adb0034ad784d013db4e57bbdbc7b80153 (diff)
downloadgtk+-572f46067f44da99e9ee0ea3210e1c0fac148928.tar.gz
cssstyle: Rename GtkCssComputedValues => GtkCssStyle
This is literally just renaming of the object (and the associated source files). No other changes are in there.
Diffstat (limited to 'gtk/deprecated/gtkgradient.c')
-rw-r--r--gtk/deprecated/gtkgradient.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/deprecated/gtkgradient.c b/gtk/deprecated/gtkgradient.c
index 19dc034d11..b01296cd33 100644
--- a/gtk/deprecated/gtkgradient.c
+++ b/gtk/deprecated/gtkgradient.c
@@ -305,8 +305,8 @@ gtk_gradient_resolve (GtkGradient *gradient,
cairo_pattern_t *
_gtk_gradient_resolve_full (GtkGradient *gradient,
GtkStyleProviderPrivate *provider,
- GtkCssComputedValues *values,
- GtkCssComputedValues *parent_values,
+ GtkCssStyle *values,
+ GtkCssStyle *parent_values,
GtkCssDependencies *dependencies)
{
cairo_pattern_t *pattern;
@@ -314,8 +314,8 @@ _gtk_gradient_resolve_full (GtkGradient *gradient,
g_return_val_if_fail (gradient != NULL, NULL);
g_return_val_if_fail (GTK_IS_STYLE_PROVIDER (provider), NULL);
- g_return_val_if_fail (GTK_IS_CSS_COMPUTED_VALUES (values), NULL);
- g_return_val_if_fail (parent_values == NULL || GTK_IS_CSS_COMPUTED_VALUES (parent_values), NULL);
+ g_return_val_if_fail (GTK_IS_CSS_STYLE (values), NULL);
+ g_return_val_if_fail (parent_values == NULL || GTK_IS_CSS_STYLE (parent_values), NULL);
g_return_val_if_fail (*dependencies == 0, NULL);
if (gradient->radius0 == 0 && gradient->radius1 == 0)
@@ -339,7 +339,7 @@ _gtk_gradient_resolve_full (GtkGradient *gradient,
/* if color resolving fails, assume transparency */
val = _gtk_css_color_value_resolve (_gtk_symbolic_color_get_css_value (stop->color),
provider,
- _gtk_css_computed_values_get_value (values, GTK_CSS_PROPERTY_COLOR),
+ gtk_css_style_get_value (values, GTK_CSS_PROPERTY_COLOR),
GTK_CSS_DEPENDS_ON_COLOR,
&stop_deps,
NULL);