summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleanimation.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-09-16 18:56:32 +0200
committerBenjamin Otte <otte@redhat.com>2012-09-17 20:39:13 +0200
commitbf19d895108be6f80fd0b050b811e14cb2c885dc (patch)
tree8896d413d858076e454f95322991a2cc08b726cd /gtk/gtkstyleanimation.c
parent21474731316ed97cb621643d17facc11f6c0c7ab (diff)
downloadgtk+-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.c13
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