diff options
author | Benjamin Otte <otte@redhat.com> | 2015-02-14 02:27:39 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-03-18 15:23:31 +0100 |
commit | da25771e5861440cc487c4dab37b20f1a704557b (patch) | |
tree | bde5aa8486441d14be49f7df08c8e4f4f5e0daaa /gtk/gtkcssvalue.c | |
parent | e95985da26c8fed22b9e05aa3ff9b4a5a53e3ad4 (diff) | |
download | gtk+-da25771e5861440cc487c4dab37b20f1a704557b.tar.gz |
cssvalue: Remove GtkCssDependencies
They are not used anymore.
Diffstat (limited to 'gtk/gtkcssvalue.c')
-rw-r--r-- | gtk/gtkcssvalue.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c index 1dc2f1ceac..ce2315c280 100644 --- a/gtk/gtkcssvalue.c +++ b/gtk/gtkcssvalue.c @@ -72,9 +72,6 @@ _gtk_css_value_unref (GtkCssValue *value) * @provider: Style provider for looking up extra information * @values: values to compute for * @parent_values: parent values to use for inherited values - * @dependencies: (out) (allow-none): Set to the dependencies of the - * computed values that indicate when this value needs to be - * recomputed and how. * * Converts the specified @value into the computed value for the CSS * property given by @property_id using the information in @context. @@ -88,21 +85,15 @@ _gtk_css_value_compute (GtkCssValue *value, guint property_id, GtkStyleProviderPrivate *provider, GtkCssStyle *style, - GtkCssStyle *parent_style, - GtkCssDependencies *dependencies) + GtkCssStyle *parent_style) { - GtkCssDependencies fallback; gtk_internal_return_val_if_fail (value != NULL, NULL); gtk_internal_return_val_if_fail (GTK_IS_STYLE_PROVIDER_PRIVATE (provider), NULL); gtk_internal_return_val_if_fail (GTK_IS_CSS_STYLE (style), NULL); gtk_internal_return_val_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style), NULL); - if (dependencies == NULL) - dependencies = &fallback; - *dependencies = 0; - - return value->class->compute (value, property_id, provider, style, parent_style, dependencies); + return value->class->compute (value, property_id, provider, style, parent_style); } gboolean |