No necessary to init qdata atomically

This commit is contained in:
Matthias Clasen 2011-06-04 23:13:55 -04:00
parent f1e5af4e12
commit 38dc7955e4

View File

@ -834,7 +834,7 @@ g_object_init (GObject *object,
GObjectClass *class) GObjectClass *class)
{ {
object->ref_count = 1; object->ref_count = 1;
g_datalist_init (&object->qdata); object->qdata = NULL;
if (CLASS_HAS_PROPS (class)) if (CLASS_HAS_PROPS (class))
{ {