Functions in src/gui-none