diff --git a/clutter/clutter/clutter-timeline.c b/clutter/clutter/clutter-timeline.c index cd0e795eb..e561ecfcf 100644 --- a/clutter/clutter/clutter-timeline.c +++ b/clutter/clutter/clutter-timeline.c @@ -1445,9 +1445,9 @@ clutter_timeline_clone (ClutterTimeline *timeline) /** * clutter_timeline_new: - * @msecs: Duration of the timeline in milliseconds + * @duration_ms: Duration of the timeline in milliseconds * - * Creates a new #ClutterTimeline with a duration of @msecs. + * Creates a new #ClutterTimeline with a duration of @duration_ms milli seconds. * * Return value: the newly created #ClutterTimeline instance. Use * g_object_unref() when done using it @@ -1455,10 +1455,10 @@ clutter_timeline_clone (ClutterTimeline *timeline) * Since: 0.6 */ ClutterTimeline * -clutter_timeline_new (guint msecs) +clutter_timeline_new (guint duration_ms) { return g_object_new (CLUTTER_TYPE_TIMELINE, - "duration", msecs, + "duration", duration_ms, NULL); } diff --git a/clutter/clutter/clutter-timeline.h b/clutter/clutter/clutter-timeline.h index 656a4c503..d6a5dde7b 100644 --- a/clutter/clutter/clutter-timeline.h +++ b/clutter/clutter/clutter-timeline.h @@ -119,7 +119,7 @@ CLUTTER_EXPORT GType clutter_timeline_get_type (void) G_GNUC_CONST; CLUTTER_EXPORT -ClutterTimeline * clutter_timeline_new (guint msecs); +ClutterTimeline * clutter_timeline_new (guint duration_ms); CLUTTER_EXPORT guint clutter_timeline_get_duration (ClutterTimeline *timeline);