The homestead in lands of a decedent, inuring to the benefit of a surviving spouse or minor children, shall be assigned and set apart in the manner provided in this part.