Move code for child allocation into the child allocation function. Don't keep it in the overlay allocation code. See the next commit for why this is useful.
Otherwise, the window will not be used when set_parent() maps the child.
and remove gtkmainprivate.h completely.