On Fri, Mar 27, 2009 at 1:47 PM, Andrew Paprocki <andrew ishiboo com> wrote:
> I checked gvalue.h and I don't see a #define in there containing the
> proper initializer list for a GValue to prevent gcc warnings. Rather
> than duplicating "GValue v = {0, {{0}}};" everywhere, I'd like the
> following to be added:
>
> #define G_VALUE_INIT {0,{{0}}}
I've attached a patch for easy reference.
-Andrew
Attachment:
patch.gvalue
Description: Binary data