actor: Make _clutter_actor_foreach_child() safe again
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 29 Mar 2012 14:52:51 +0000 (15:52 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 29 Mar 2012 14:52:51 +0000 (15:52 +0100)
commitd45420f992f3a277ef12d83281ac60981e4c75ac
tree060b04069926be4b8e41db4935d64565371817ba
parent656c641d31cab2041f56c86a8f5f9993bfab4c93
actor: Make _clutter_actor_foreach_child() safe again

We were using g_list_foreach() prior to the first Apocalypse, and that
function is resilient against changes to the list while iterating it;
since we are not using a GList any more, we need handle this case
ourselves.
clutter/clutter-actor.c