Use g_memdup2()
This replaces usage of the now deprecated g_memdup() by its successor g_memdup2(), finxing deprecation warnings.
Edited by Adrien Plazas
This replaces usage of the now deprecated g_memdup() by its successor g_memdup2(), finxing deprecation warnings.