[gtk+/gtk-style-context: 256/276] GtkStyleContext: Actually store region ID when starting an animation.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 256/276] GtkStyleContext: Actually store region ID when starting an animation.
- Date: Sat, 23 Oct 2010 19:16:39 +0000 (UTC)
commit 6adf3c09d09a58a5be1e802ef783f118a5899984
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Oct 19 11:29:18 2010 +0200
GtkStyleContext: Actually store region ID when starting an animation.
gtk/gtkstylecontext.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index 3a04074..7fdce6d 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -582,6 +582,7 @@ timeline_finished_cb (GtkTimeline *timeline,
static AnimationInfo *
animation_info_new (GtkStyleContext *context,
+ gpointer region_id,
gdouble duration,
GtkTimelineProgressType progress_type,
GtkStateType state,
@@ -597,6 +598,7 @@ animation_info_new (GtkStyleContext *context,
info->window = g_object_ref (window);
info->state = state;
info->target_value = target_value;
+ info->region_id = region_id;
gtk_timeline_set_progress_type (info->timeline, progress_type);
@@ -2515,7 +2517,7 @@ gtk_style_context_notify_state_change (GtkStyleContext *context,
}
else
{
- info = animation_info_new (context,
+ info = animation_info_new (context, region_id,
gtk_animation_description_get_duration (desc),
gtk_animation_description_get_progress_type (desc),
state, state_value, window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]