summaryrefslogtreecommitdiff
path: root/clutter/clutter-timeline.h
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2011-01-24 11:49:04 +0000
committerNeil Roberts <neil@linux.intel.com>2011-01-24 11:52:47 +0000
commite8d5be0ba79eef766fff723012c5d1994da84b4c (patch)
treee613a4476d1d917244e81f325aef502e91f33b69 /clutter/clutter-timeline.h
parent5c0aaf50a7b3d1914d4580d5f853faa9a4b10f73 (diff)
downloadclutter-e8d5be0ba79eef766fff723012c5d1994da84b4c.tar.gz
ClutterTimeline: Fix the 'msecs' parameter for the new-frame signal
Between Clutter 0.8 and 1.0, the new-frame signal of ClutterTimeline changed the second parameter to be an elapsed time in milliseconds rather than the frame number. However a few places in clutter were still calling the parameter 'frame_num' which is a bit misleading. Notably the signature for the signal class closure in the header was using the wrong name. This changes them to use 'msecs'.
Diffstat (limited to 'clutter/clutter-timeline.h')
-rw-r--r--clutter/clutter-timeline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-timeline.h b/clutter/clutter-timeline.h
index 4cb2fa4a8..95f2bfa9f 100644
--- a/clutter/clutter-timeline.h
+++ b/clutter/clutter-timeline.h
@@ -96,7 +96,7 @@ struct _ClutterTimelineClass
void (*paused) (ClutterTimeline *timeline);
void (*new_frame) (ClutterTimeline *timeline,
- gint frame_num);
+ gint msecs);
void (*marker_reached) (ClutterTimeline *timeline,
const gchar *marker_name,