actor: Fix add_child_at_index() for negative index
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 9 Feb 2012 01:13:50 +0000 (02:13 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 9 Feb 2012 08:29:13 +0000 (09:29 +0100)
commita023bb341201b0dbb438efaef8d9d03ce99269de
treecfe5b5718b41e99e0366b8205710394cf35b7d4b
parent74821f61c0f0880545dd12fd96be1539a9e72894
actor: Fix add_child_at_index() for negative index

There is a typo in the check for a negative index: the index variable
should be index_, not index - unfortunately, the latter can still be
resolved to index(3), so compiler and linker are perfectly happy.

https://bugzilla.gnome.org/show_bug.cgi?id=669730
clutter/clutter-actor.c