summaryrefslogtreecommitdiff
path: root/gtk/gtkcssimagegradient.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-02-14 02:27:39 +0100
committerBenjamin Otte <otte@redhat.com>2015-03-18 15:23:31 +0100
commitda25771e5861440cc487c4dab37b20f1a704557b (patch)
treebde5aa8486441d14be49f7df08c8e4f4f5e0daaa /gtk/gtkcssimagegradient.c
parente95985da26c8fed22b9e05aa3ff9b4a5a53e3ad4 (diff)
downloadgtk+-da25771e5861440cc487c4dab37b20f1a704557b.tar.gz
cssvalue: Remove GtkCssDependencies
They are not used anymore.
Diffstat (limited to 'gtk/gtkcssimagegradient.c')
-rw-r--r--gtk/gtkcssimagegradient.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkcssimagegradient.c b/gtk/gtkcssimagegradient.c
index 3758def4e3..2716797013 100644
--- a/gtk/gtkcssimagegradient.c
+++ b/gtk/gtkcssimagegradient.c
@@ -35,8 +35,7 @@ gtk_css_image_gradient_compute (GtkCssImage *image,
guint property_id,
GtkStyleProviderPrivate *provider,
GtkCssStyle *style,
- GtkCssStyle *parent_style,
- GtkCssDependencies *dependencies)
+ GtkCssStyle *parent_style)
{
GtkCssImageGradient *gradient = GTK_CSS_IMAGE_GRADIENT (image);
GtkCssImageGradient *copy;
@@ -46,7 +45,7 @@ gtk_css_image_gradient_compute (GtkCssImage *image,
copy = g_object_new (GTK_TYPE_CSS_IMAGE_GRADIENT, NULL);
copy->gradient = gtk_gradient_ref (gradient->gradient);
- copy->pattern = _gtk_gradient_resolve_full (copy->gradient, provider, style, parent_style, dependencies);
+ copy->pattern = _gtk_gradient_resolve_full (copy->gradient, provider, style, parent_style);
return GTK_CSS_IMAGE (copy);
}