* clutter/clutter-timeline.c (clutter_timeline_list_markers): When

requesting the list of markers it was returning the marker data as
	a string instead of the name so it was copying garbage.
This commit is contained in:
Neil Roberts 2008-07-26 14:00:32 +00:00
parent 0d700d7abb
commit 7df15542e4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2008-07-26 Neil Roberts <neil@o-hand.com>
* clutter/clutter-timeline.c (clutter_timeline_list_markers): When
requesting the list of markers it was returning the marker data as
a string instead of the name so it was copying garbage.
2008-07-25 Neil Roberts <neil@o-hand.com>
* clutter/clutter-actor.c (clutter_actor_remove_clip)

View File

@ -1593,7 +1593,7 @@ clutter_timeline_list_markers (ClutterTimeline *timeline,
retval = g_new0 (gchar*, g_slist_length (markers) + 1);
for (i = 0, l = markers; l != NULL; i++, l = l->next)
retval[i] = g_strdup (l->data);
retval[i] = g_strdup (((TimelineMarker *) l->data)->name);
}
if (n_markers)