diff options
Diffstat (limited to 'gtk/gtkcssimagelinear.c')
-rw-r--r-- | gtk/gtkcssimagelinear.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gtk/gtkcssimagelinear.c b/gtk/gtkcssimagelinear.c index ac6310c6a5..559aecc9ba 100644 --- a/gtk/gtkcssimagelinear.c +++ b/gtk/gtkcssimagelinear.c @@ -432,8 +432,7 @@ gtk_css_image_linear_compute (GtkCssImage *image, guint property_id, GtkStyleProviderPrivate *provider, GtkCssStyle *style, - GtkCssStyle *parent_style, - GtkCssDependencies *dependencies) + GtkCssStyle *parent_style) { GtkCssImageLinear *linear = GTK_CSS_IMAGE_LINEAR (image); GtkCssImageLinear *copy; @@ -442,24 +441,21 @@ gtk_css_image_linear_compute (GtkCssImage *image, copy = g_object_new (GTK_TYPE_CSS_IMAGE_LINEAR, NULL); copy->repeating = linear->repeating; - copy->angle = _gtk_css_value_compute (linear->angle, property_id, provider, style, parent_style, dependencies); + copy->angle = _gtk_css_value_compute (linear->angle, property_id, provider, style, parent_style); g_array_set_size (copy->stops, linear->stops->len); for (i = 0; i < linear->stops->len; i++) { GtkCssImageLinearColorStop *stop, *scopy; - GtkCssDependencies child_deps; stop = &g_array_index (linear->stops, GtkCssImageLinearColorStop, i); scopy = &g_array_index (copy->stops, GtkCssImageLinearColorStop, i); - scopy->color = _gtk_css_value_compute (stop->color, property_id, provider, style, parent_style, &child_deps); - *dependencies = _gtk_css_dependencies_union (*dependencies, child_deps); + scopy->color = _gtk_css_value_compute (stop->color, property_id, provider, style, parent_style); if (stop->offset) { - scopy->offset = _gtk_css_value_compute (stop->offset, property_id, provider, style, parent_style, &child_deps); - *dependencies = _gtk_css_dependencies_union (*dependencies, child_deps); + scopy->offset = _gtk_css_value_compute (stop->offset, property_id, provider, style, parent_style); } else { |