From the dynamics of gaseous stars to the incompressible Euler equations