Stability of the spherical motion of a solid body with an inhomogeneous fluid performing a uniform vortex motion