Rename clutter_timeline_copy to clutter_timeline_clone

Usually, in OOP objects are cloned, while boxed types are copied; this
holds true in GObject, where GBoxed types have copy functions.
This commit is contained in:
Emmanuele Bassi
2007-06-07 10:26:07 +00:00
parent 9789bfc69e
commit c90a252581
4 changed files with 16 additions and 13 deletions

View File

@ -87,6 +87,8 @@ GType clutter_timeline_get_type (void) G_GNUC_CONST;
ClutterTimeline *clutter_timeline_new (guint n_frames,
guint fps);
ClutterTimeline *clutter_timeline_clone (ClutterTimeline *timeline);
guint clutter_timeline_get_speed (ClutterTimeline *timeline);
void clutter_timeline_set_speed (ClutterTimeline *timeline,
guint fps);
@ -106,7 +108,6 @@ void clutter_timeline_set_n_frames (ClutterTimeline *timeline,
guint n_frames);
guint clutter_timeline_get_n_frames (ClutterTimeline *timeline);
gboolean clutter_timeline_is_playing (ClutterTimeline *timeline);
ClutterTimeline* clutter_timeline_copy (ClutterTimeline *timeline);
G_END_DECLS