replace deprecated function
replace deprecated function

Signed-off-by: Zou Nengren <047192ffb1bb92d1a9da72010e74062f77d489fa@gmail.com>
Signed-off-by: Sebastiaan van Stijn <64b2b6d12bfe4baae7dad3d018f8cbf6b0e7a044@gone.nl>

thaJeztah/distribution,thaJeztah/distribution