glib/gobject
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
..
2011-07-22 15:47:24 +02:00
2011-05-23 00:21:06 -04:00
2009-03-31 19:39:16 -04:00
2011-06-14 18:51:57 -04:00
2011-06-09 11:15:40 -04:00
2011-06-09 11:15:40 -04:00
2011-06-24 01:03:50 +02:00
2011-02-07 23:46:02 -05:00
2011-06-24 13:20:06 +02:00
2010-11-08 18:21:51 -05:00
2011-06-24 01:03:50 +02:00
2010-07-12 17:46:17 -04:00
2011-08-13 13:53:48 -04:00
2011-06-09 11:15:40 -04:00
2011-06-09 11:15:40 -04:00
2011-03-24 09:33:55 +01:00
2008-06-21 18:20:43 +00:00
2011-08-13 18:16:44 -04:00
2011-08-13 18:16:44 -04:00
2008-06-22 09:45:13 +00:00
2010-07-12 17:46:17 -04:00
2011-07-10 20:47:02 -04:00