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:
Tomas Frydrych
2007-10-16 08:34:16 +00:00
parent 922a7e4d21
commit f8de77ac92
5 changed files with 24 additions and 11 deletions

View File

@ -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;