Use G_VALUE_INIT instead of { 0, }
The macro avoids warnings from anal-retentive compilers.
This commit is contained in:
@ -12280,7 +12280,7 @@ parse_units (ClutterActor *self,
|
||||
ParseDimension dimension,
|
||||
JsonNode *node)
|
||||
{
|
||||
GValue value = { 0, };
|
||||
GValue value = G_VALUE_INIT;
|
||||
gfloat retval = 0;
|
||||
|
||||
if (JSON_NODE_TYPE (node) != JSON_NODE_VALUE)
|
||||
|
Reference in New Issue
Block a user