How to store the value of a Gvalue of a property in a gchar*

You actually /can/ print it as text by using g_enum_to_string(), which
should work for any property that uses GParamSpecEnum. (Or, if it uses
GParamSpecFlags, use g_flags_to_string().)

The thing is the docs explicitly tell you it’s only intended for
debugging purposes and what this function outputs might change without
notice:

This is intended to be used for debugging purposes. The format of the
output may change in the future.

So I’d rather do it a little more manually and not to rely on something
that might break under my feet.