his first wife , gwladys , was the daughter of llywarch ap trahaearn ; his second was cristina , his cousin , to whom he remained constant despite the active disapproval of the church ( which opposed what they viewed as consanguine relationships ) .