GNOME Bugzilla – Bug 629192
g_strdup_value_contents(): dump GStrv more usefully
Last modified: 2010-09-13 18:20:30 UTC
Previously, dumping a GValue holding a GStrv just yielded "((GStrv *) 0xDEADBEEF)". I think it'd be more useful to dump a Python list-style representation of the GStrv's contents, if it's not NULL. Patch attached.
> Patch attached. Forgotten patch ?
Created attachment 170165 [details] [review] Yes, I forgot the patch! :)
Review of attachment 170165 [details] [review]: Looks good to me; you could avoid printf and use some append_c() instead, but not a big deal for a debug-only function
Comment on attachment 170165 [details] [review] Yes, I forgot the patch! :) Thanks!