2007-10-16 Tomas Frydrych <tf@o-hand.com>
* clutter.symbols: Added a bunch of missing symbols. * clutter/clutter-script.c: * json/json-node.c: Use g_slice_new0 instead of g_slice_new to avoid passing garbage to functions. * tests/test-threads.c: Replaced non-portable sleep() with g_usleep().
This commit is contained in:
@ -59,7 +59,7 @@ json_node_new (JsonNodeType type)
|
||||
|
||||
g_return_val_if_fail (type >= JSON_NODE_OBJECT && type <= JSON_NODE_NULL, NULL);
|
||||
|
||||
data = g_slice_new (JsonNode);
|
||||
data = g_slice_new0 (JsonNode);
|
||||
data->type = type;
|
||||
|
||||
return data;
|
||||
|
Reference in New Issue
Block a user