[gtk+/gtk-style-context] GtkStyleContext: Use correct type for animation duration.



commit 480dbe0cab1c0b3cd8b18b9a2a2f5fd65e00490a
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Nov 22 03:45:59 2010 +0100

    GtkStyleContext: Use correct type for animation duration.

 gtk/gtkstylecontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index adb9cd0..3303e74 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -583,7 +583,7 @@ timeline_finished_cb (GtkTimeline *timeline,
 static AnimationInfo *
 animation_info_new (GtkStyleContext         *context,
                     gpointer                 region_id,
-                    gdouble                  duration,
+                    guint                    duration,
                     GtkTimelineProgressType  progress_type,
                     gboolean                 loop,
                     GtkStateType             state,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]