gobject: Use G_VALUE_INIT

This commit is contained in:
Javier Jardón
2011-09-30 17:19:50 +01:00
parent 8d3250016d
commit 108480b7ba
12 changed files with 46 additions and 46 deletions

View File

@@ -154,8 +154,8 @@ base_object_constructor (GType type,
/* The constructor is the one place where a GParamSpecOverride is visible
* to the outside world, so we do a bunch of checks here
*/
GValue value1 = { 0, };
GValue value2 = { 0, };
GValue value1 = G_VALUE_INIT;
GValue value2 = G_VALUE_INIT;
GParamSpec *pspec;
g_assert (n_construct_properties == 1);