mu: Make mu_container_splice_grandchildren() do only one thing

Don't kill the resultant childless container when promoting its
children. This unifies the behavior of mu_container_splice_*()
functions.
This commit is contained in:
Jakub Sitnicki
2014-08-14 07:40:13 +02:00
parent bb0cc542b8
commit c9cb27be11
3 changed files with 5 additions and 5 deletions

View File

@ -140,7 +140,7 @@ MuContainer* mu_container_splice_children (MuContainer *c,
MuContainer *sibling);
/**
* promote child's children to be parent's children and remove child
* promote child's children to be parent's children
*
* @param parent a container instance
* @param child a child of this container