diff options
author | Timm Bäder <mail@baedert.org> | 2020-05-06 11:40:52 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-05-10 08:44:20 +0200 |
commit | 06460ea50ca611a67c28f9e7ee1b4dba7b8f2aa5 (patch) | |
tree | c2835a33a21f0ae114f72e0a8a531e0071ff5d84 /gtk/gtkcssanimatedstyle.c | |
parent | e12c9de5dfd5b9ed0098650c516f4fed1653f423 (diff) | |
download | gtk+-06460ea50ca611a67c28f9e7ee1b4dba7b8f2aa5.tar.gz |
css: Drop a few dynamic type checks
We hit these code paths a lot
Diffstat (limited to 'gtk/gtkcssanimatedstyle.c')
-rw-r--r-- | gtk/gtkcssanimatedstyle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c index d67bb9f191..c04f040b0b 100644 --- a/gtk/gtkcssanimatedstyle.c +++ b/gtk/gtkcssanimatedstyle.c @@ -53,7 +53,7 @@ gtk_css_animated_style_get_section (GtkCssStyle *style, static gboolean gtk_css_animated_style_is_static (GtkCssStyle *style) { - GtkCssAnimatedStyle *animated = GTK_CSS_ANIMATED_STYLE (style); + GtkCssAnimatedStyle *animated = (GtkCssAnimatedStyle *)style; guint i; for (i = 0; i < animated->n_animations; i ++) |