ShowInfo: avoid use of deprecated api