Emmanuele Bassi 4f470b9231 actor: Provide a proper implementation of replace_child()
The correct sequence of actions should be remove(old) → insert(new), not
insert(new) → remove(old). We can implement a simple delegate insertion
functions to insert the new child between the previous and next siblings
of the old child.

While we're at it, let's also add a unit test for replace_child().
2012-01-16 23:37:11 +00:00
..
2011-11-10 19:05:39 +01:00
2011-11-18 22:06:30 +01:00
2011-11-14 11:06:28 +00:00
2011-06-07 16:06:24 +01:00
2011-10-19 15:23:55 +01:00
2011-10-19 15:23:55 +01:00
2011-11-10 14:13:45 +00:00
2012-01-16 23:35:13 +00:00
2011-06-07 16:06:24 +01:00
2010-10-21 12:22:17 +01:00
2012-01-16 23:35:16 +00:00
2011-06-07 16:06:24 +01:00
2011-12-28 09:37:53 +00:00
2011-06-20 15:25:53 +01:00
2011-10-11 23:42:23 +01:00
2011-06-07 16:06:24 +01:00
2012-01-16 21:06:19 +00:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2011-06-07 16:06:24 +01:00
2012-01-16 23:35:17 +00:00
2011-12-13 12:44:27 +08:00
2012-01-16 23:35:17 +00:00