Use G_VALUE_INIT instead of { 0, }

The macro avoids warnings from anal-retentive compilers.
This commit is contained in:
Emmanuele Bassi
2012-03-17 16:38:06 +00:00
parent be5921e6fb
commit b3b1994c13
13 changed files with 39 additions and 34 deletions

View File

@ -1241,7 +1241,7 @@ clutter_container_child_set (ClutterContainer *container,
name = first_prop;
while (name)
{
GValue value = { 0, };
GValue value = G_VALUE_INIT;
gchar *error = NULL;
GParamSpec *pspec;
@ -1389,7 +1389,7 @@ clutter_container_child_get (ClutterContainer *container,
name = first_prop;
while (name)
{
GValue value = { 0, };
GValue value = G_VALUE_INIT;
gchar *error = NULL;
GParamSpec *pspec;