summaryrefslogtreecommitdiff
path: root/gtk/gtkcsspositionvalue.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/gtkcsspositionvalue.c
parente95985da26c8fed22b9e05aa3ff9b4a5a53e3ad4 (diff)
downloadgtk+-da25771e5861440cc487c4dab37b20f1a704557b.tar.gz
cssvalue: Remove GtkCssDependencies
They are not used anymore.
Diffstat (limited to 'gtk/gtkcsspositionvalue.c')
-rw-r--r--gtk/gtkcsspositionvalue.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/gtk/gtkcsspositionvalue.c b/gtk/gtkcsspositionvalue.c
index ef750fc12e..6a52ff6c47 100644
--- a/gtk/gtkcsspositionvalue.c
+++ b/gtk/gtkcsspositionvalue.c
@@ -41,15 +41,12 @@ gtk_css_value_position_compute (GtkCssValue *position,
guint property_id,
GtkStyleProviderPrivate *provider,
GtkCssStyle *style,
- GtkCssStyle *parent_style,
- GtkCssDependencies *dependencies)
+ GtkCssStyle *parent_style)
{
GtkCssValue *x, *y;
- GtkCssDependencies x_deps, y_deps;
- x = _gtk_css_value_compute (position->x, property_id, provider, style, parent_style, &x_deps);
- y = _gtk_css_value_compute (position->y, property_id, provider, style, parent_style, &y_deps);
- *dependencies = _gtk_css_dependencies_union (x_deps, y_deps);
+ x = _gtk_css_value_compute (position->x, property_id, provider, style, parent_style);
+ y = _gtk_css_value_compute (position->y, property_id, provider, style, parent_style);
if (x == position->x && y == position->y)
{
_gtk_css_value_unref (x);