Ex-law professor named Governor General