summaryrefslogtreecommitdiff
path: root/gtk/gtkcsslookup.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2016-08-04 17:32:05 +0200
committerTimm Bäder <mail@baedert.org>2016-08-04 20:40:34 +0200
commit2f9b22243a087c224f25a72f0c028ed46d043b4e (patch)
treec6ac644556b200f5e7e8966fab07471a79815828 /gtk/gtkcsslookup.c
parentbe2e0e0baf2177c1e7d928f2fa189b93d567e46d (diff)
downloadgtk+-2f9b22243a087c224f25a72f0c028ed46d043b4e.tar.gz
csslookup: Remove useless cast
The style passed to _gtk_css_lookup_resolve is already a GtkCssStaticStyle.
Diffstat (limited to 'gtk/gtkcsslookup.c')
-rw-r--r--gtk/gtkcsslookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcsslookup.c b/gtk/gtkcsslookup.c
index 217d9a3996..17e3f85549 100644
--- a/gtk/gtkcsslookup.c
+++ b/gtk/gtkcsslookup.c
@@ -119,7 +119,7 @@ _gtk_css_lookup_resolve (GtkCssLookup *lookup,
{
if (lookup->values[i].value ||
_gtk_bitmask_get (lookup->missing, i))
- gtk_css_static_style_compute_value (GTK_CSS_STATIC_STYLE (style),
+ gtk_css_static_style_compute_value (style,
provider,
parent_style,
i,