Yi.UI.Pango.Layouts: cosmetic
Remove use of deprecated onSwitchPage