diff options
author | Benjamin Otte <otte@redhat.com> | 2012-09-16 18:56:32 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-09-17 20:39:13 +0200 |
commit | bf19d895108be6f80fd0b050b811e14cb2c885dc (patch) | |
tree | 8896d413d858076e454f95322991a2cc08b726cd /gtk/gtkstyleanimation.c | |
parent | 21474731316ed97cb621643d17facc11f6c0c7ab (diff) | |
download | gtk+-bf19d895108be6f80fd0b050b811e14cb2c885dc.tar.gz |
animation: Don't set the changed properties anymore
The code is not needed anymore. And it looked wrong, too, so I'm glad
it's gone.
Diffstat (limited to 'gtk/gtkstyleanimation.c')
-rw-r--r-- | gtk/gtkstyleanimation.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gtk/gtkstyleanimation.c b/gtk/gtkstyleanimation.c index ac74851c59..2ee49f3fa8 100644 --- a/gtk/gtkstyleanimation.c +++ b/gtk/gtkstyleanimation.c @@ -23,13 +23,11 @@ G_DEFINE_ABSTRACT_TYPE (GtkStyleAnimation, _gtk_style_animation, G_TYPE_OBJECT) -static GtkBitmask * +static void gtk_style_animation_real_set_values (GtkStyleAnimation *animation, - GtkBitmask *changed, gint64 for_time_us, GtkCssComputedValues *values) { - return changed; } static gboolean @@ -59,20 +57,19 @@ _gtk_style_animation_init (GtkStyleAnimation *animation) { } -GtkBitmask * +void _gtk_style_animation_set_values (GtkStyleAnimation *animation, - GtkBitmask *changed, gint64 for_time_us, GtkCssComputedValues *values) { GtkStyleAnimationClass *klass; - g_return_val_if_fail (GTK_IS_STYLE_ANIMATION (animation), changed); - g_return_val_if_fail (GTK_IS_CSS_COMPUTED_VALUES (values), changed); + g_return_if_fail (GTK_IS_STYLE_ANIMATION (animation)); + g_return_if_fail (GTK_IS_CSS_COMPUTED_VALUES (values)); klass = GTK_STYLE_ANIMATION_GET_CLASS (animation); - return klass->set_values (animation, changed, for_time_us, values); + return klass->set_values (animation, for_time_us, values); } gboolean |