Change of glass transition temperature of polymers containing gas