summaryrefslogtreecommitdiff
path: root/gtk/gtkcsslookup.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-01-31 11:56:15 +0100
committerBenjamin Otte <otte@redhat.com>2015-02-06 11:26:31 +0100
commit1116914ea03685ffbff188e48e32685a4985c2d3 (patch)
tree13ba596816f999356a705ce410e588e7dfef56c4 /gtk/gtkcsslookup.c
parent808bfe0a98ac4cd2e11ea4eed82a66470121c19b (diff)
downloadgtk+-1116914ea03685ffbff188e48e32685a4985c2d3.tar.gz
css: Move scale to GtkStyleProviderPrivatewip/mir2
This way, we can remove it as a separate argument from gtk_css_value_compute() and allow computation to only depend on one thing: the style provider.
Diffstat (limited to 'gtk/gtkcsslookup.c')
-rw-r--r--gtk/gtkcsslookup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkcsslookup.c b/gtk/gtkcsslookup.c
index c48223194d..66fe47213b 100644
--- a/gtk/gtkcsslookup.c
+++ b/gtk/gtkcsslookup.c
@@ -105,7 +105,6 @@ _gtk_css_lookup_set (GtkCssLookup *lookup,
void
_gtk_css_lookup_resolve (GtkCssLookup *lookup,
GtkStyleProviderPrivate *provider,
- int scale,
GtkCssStaticStyle *style,
GtkCssStyle *parent_style)
{
@@ -124,7 +123,6 @@ _gtk_css_lookup_resolve (GtkCssLookup *lookup,
_gtk_bitmask_get (lookup->missing, i))
gtk_css_static_style_compute_value (GTK_CSS_STATIC_STYLE (style),
provider,
- scale,
parent_style,
i,
lookup->values[i].value,