[gtk2] remove config_write from gtk2