sourceview: fix compile warnings