2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-score.c (traverse_children): Actually implement clutter_score_list_timelines(). * tests/test-score.c (main): Test clutter_score_list_timelines().
This commit is contained in:
parent
b1615f01a4
commit
c8499a7619
@ -1,3 +1,10 @@
|
||||
2008-02-07 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-score.c (traverse_children): Actually implement
|
||||
clutter_score_list_timelines().
|
||||
|
||||
* tests/test-score.c (main): Test clutter_score_list_timelines().
|
||||
|
||||
2008-02-07 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
* clutter/pango/pangoclutter-render.c:
|
||||
@ -15,7 +22,7 @@
|
||||
Minor clean up from last commit.
|
||||
|
||||
* tests/test-fbo.c:
|
||||
Swall tweak (rotate offscreen, rather than resize)
|
||||
Small tweak (rotate offscreen, rather than resize)
|
||||
|
||||
2008-02-06 Matthew Allum <mallum@openedhand.com>
|
||||
|
||||
|
@ -729,7 +729,8 @@ traverse_children (GNode *node,
|
||||
break;
|
||||
|
||||
case LIST_TIMELINES:
|
||||
retval = TRUE;
|
||||
closure->result = g_slist_prepend (closure->result, entry->timeline);
|
||||
retval = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -42,6 +42,7 @@ main (int argc, char **argv)
|
||||
ClutterTimeline *timeline_2;
|
||||
ClutterTimeline *timeline_3;
|
||||
ClutterTimeline *timeline_4;
|
||||
GSList *timelines;
|
||||
guint t1, t2, t3, t4;
|
||||
|
||||
clutter_init (&argc, &argv);
|
||||
@ -83,6 +84,10 @@ main (int argc, char **argv)
|
||||
t3 = clutter_score_append (score, timeline_1, timeline_3);
|
||||
t4 = clutter_score_append (score, timeline_3, timeline_4);
|
||||
|
||||
timelines = clutter_score_list_timelines (score);
|
||||
g_assert (4 == g_slist_length (timelines));
|
||||
g_slist_free (timelines);
|
||||
|
||||
clutter_score_start (score);
|
||||
|
||||
clutter_main ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user