ui: work around gtk+ abi break.