Commit 056ba6ad authored by Olivier Fourdan's avatar Olivier Fourdan 🛠

settings: Duplicate string gvalues

The gvalues strings were considered statics, hence not duplicated.

As the caller frees the strings after setting the gvalue, the actual
content would end up pointing at free data.

Consider string gvalues as regular strings, meaning that the given
string value is duplicated as a gvalue.
Signed-off-by: Olivier Fourdan's avatarOlivier Fourdan <fourdan@xfce.org>
Closes: #406
parent 6637211e
Pipeline #1333 passed with stages
in 2 minutes and 44 seconds