修复编译错误

dia：
https://git.gnome.org/browse/dia/commit/?id=0b863adcad031c70601e375d72dae64fdd967752