Solvent-treatment of textile materials