This fixes several compiler warnings about strncpy by replacing it with strncpy0.
Also, the strncpy0 macro (except for the return value which is never used) was equivalent to strlcpy (which is included in gtk as g_strlcpy), so I replaced it with that.
This fixes several compiler warnings about strncpy by replacing it with strncpy0. Also, the
strncpy0
macro (except for the return value which is never used) was equivalent tostrlcpy
(which is included in gtk asg_strlcpy
), so I replaced it with that.