Application of Surface Thermodynamics to Gibbs Elasticity