diff options
author | Timm Bäder <mail@baedert.org> | 2019-08-17 18:55:35 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2019-09-09 17:36:23 +0200 |
commit | 6837e80d14bc0bf920b51b40f64028165c4d1a43 (patch) | |
tree | 73282d6dc1ee799779ba3f6e61faf17b2a2ea0c9 /gtk/gtkcssstaticstyle.c | |
parent | 4f3e65e74584b108faa75afbe3c49b11eac62c85 (diff) | |
download | gtk+-6837e80d14bc0bf920b51b40f64028165c4d1a43.tar.gz |
css: Avoid more type checks in hot paths
Diffstat (limited to 'gtk/gtkcssstaticstyle.c')
-rw-r--r-- | gtk/gtkcssstaticstyle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssstaticstyle.c b/gtk/gtkcssstaticstyle.c index d0557597a3..ef6ac593b6 100644 --- a/gtk/gtkcssstaticstyle.c +++ b/gtk/gtkcssstaticstyle.c @@ -225,7 +225,7 @@ gtk_css_static_style_compute_value (GtkCssStaticStyle *style, else _gtk_css_value_ref (specified); - value = _gtk_css_value_compute (specified, id, provider, GTK_CSS_STYLE (style), parent_style); + value = _gtk_css_value_compute (specified, id, provider, (GtkCssStyle *)style, parent_style); gtk_css_static_style_set_value (style, id, value, section); |