2007-09-27 Matthew Allum <mallum@openedhand.com>

* tests/test-scale.c:
        Fix out of about array addressing (#522, Tommi Komulainen)
This commit is contained in:
Matthew Allum 2007-09-27 22:30:58 +00:00
parent ff81b9fcd2
commit 7d7d235729
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-09-27 Matthew Allum <mallum@openedhand.com>
* tests/test-scale.c:
Fix out of about array addressing (#522, Tommi Komulainen)
2007-09-27 Matthew Allum <mallum@openedhand.com>
* clutter/clutter-clone-texture.c:

View File

@ -22,7 +22,7 @@ on_timeline_completed (ClutterTimeline *cluttertimeline,
{
ClutterBehaviourScale *behave = CLUTTER_BEHAVIOUR_SCALE(data);
if (++gindex > G_N_ELEMENTS(gravitys))
if (++gindex >= G_N_ELEMENTS(gravitys))
gindex = 0;
g_object_set (behave, "scale-gravity", gravitys[gindex], NULL);