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:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user