diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-27 00:25:18 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-01-07 14:26:47 +0100 |
commit | 270e73bfcc7a1f22f123de0bbb52bf9e05c0d75a (patch) | |
tree | 1965b9aac4d99beaa0e4571ac9301f05b7cfcfb1 /gtk/gtkcssanimatedstyle.c | |
parent | c7e9489e3e9629c394ff3b3de7378bbf09ec92f0 (diff) | |
download | gtk+-270e73bfcc7a1f22f123de0bbb52bf9e05c0d75a.tar.gz |
stylecontext: Always pass the static style
... to build_properties.
There is always one available, so we can insist on that one.
This simplifies a bunch of code.
Diffstat (limited to 'gtk/gtkcssanimatedstyle.c')
-rw-r--r-- | gtk/gtkcssanimatedstyle.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gtk/gtkcssanimatedstyle.c b/gtk/gtkcssanimatedstyle.c index 1d20c146d4..efbce2490b 100644 --- a/gtk/gtkcssanimatedstyle.c +++ b/gtk/gtkcssanimatedstyle.c @@ -127,24 +127,6 @@ gtk_css_animated_style_new (void) } void -gtk_css_animated_style_compute_value (GtkCssAnimatedStyle *style, - GtkStyleProviderPrivate *provider, - int scale, - GtkCssStyle *parent_style, - guint id, - GtkCssValue *specified, - GtkCssSection *section) -{ - gtk_internal_return_if_fail (GTK_IS_CSS_ANIMATED_STYLE (style)); - gtk_internal_return_if_fail (GTK_IS_STYLE_PROVIDER_PRIVATE (provider)); - gtk_internal_return_if_fail (parent_style == NULL || GTK_IS_CSS_STYLE (parent_style)); - - gtk_css_static_style_compute_value (GTK_CSS_STATIC_STYLE (style->style), - provider, scale, parent_style, - id, specified, section); -} - -void gtk_css_animated_style_set_animated_value (GtkCssAnimatedStyle *style, guint id, GtkCssValue *value) |