g_strdup_value_contents(): dump GStrv more usefully
authorWill Thompson <will.thompson@collabora.co.uk>
Thu, 9 Sep 2010 16:24:00 +0000 (17:24 +0100)
committerWill Thompson <will.thompson@collabora.co.uk>
Mon, 13 Sep 2010 18:19:46 +0000 (19:19 +0100)
commitba17efc3961b094cc853b66d66e09a3d8b0444a1
treebb8b3b7c2cc02ad48adfd912f12b6fef70cfd930
parentcb2ddac7a29f534350f07afdbe5631b2f9df176f
g_strdup_value_contents(): dump GStrv more usefully

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.

Fixes: <https://bugzilla.gnome.org/show_bug.cgi?id=629192>
gobject/gvaluetypes.c