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

@ -290,8 +290,6 @@ mu_container_splice_grandchildren (MuContainer *parent, MuContainer *child)
newchild = child->child;
child->child=NULL;
mu_container_remove_child (parent, child);
return mu_container_append_children (parent, newchild);
}