Marc-André Lureau d2ca14c270 Add G_VALUE_INIT
The implementation of GValue is not public or documented.  When
allocated on the stack, initializing a GValue is usually done as
documented with:

GValue value = { 0, };

There is lot code around (including WebKit) that added all the missing
fields, resulting in this ugly and non-obvious:

GValue value = { 0, { { 0 } } };

However, this doesn't play nice with -Wmissing-field-initializers for
example. Thus, G_VALUE_INIT.

http://bugzilla.gnome.org/show_bug.cgi?id=654793
http://bugzilla.gnome.org/show_bug.cgi?id=577231
2011-08-13 18:16:44 -04:00
..
2005-04-22 18:34:41 +00:00
2010-06-21 14:01:50 -04:00
2010-04-16 20:43:53 -04:00
2011-08-13 18:16:44 -04:00
2010-06-15 16:06:18 +01:00
2010-09-19 21:50:31 +03:00
2002-11-23 01:37:17 +00:00