GNOME Bugzilla – Bug 682025
Documentation correction
Last modified: 2012-08-17 18:45:32 UTC
This seems to be an example with wrong usage of g_variant_get() contradicting its definition: { const gchar *str; GVariant *value; value = g_variant_new ("&s", "hello world"); str = g_variant_get ("&s", &str); g_print ("string is: %s\n", str); /* no need to free str */ } ..taken from the "Pointers" section of "GVariant Format Strings"
Thanks, Chandni - should be fixed now.
You're welcome :)