[glib] No necessary to init qdata atomically



commit 38dc7955e46cf52ac4fce907ace6b354eaa8c0c6
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 4 23:13:55 2011 -0400

    No necessary to init qdata atomically

 gobject/gobject.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gobject.c b/gobject/gobject.c
index 85e3b76..e5c6b03 100644
--- a/gobject/gobject.c
+++ b/gobject/gobject.c
@@ -834,7 +834,7 @@ g_object_init (GObject		*object,
 	       GObjectClass	*class)
 {
   object->ref_count = 1;
-  g_datalist_init (&object->qdata);
+  object->qdata = NULL;
 
   if (CLASS_HAS_PROPS (class))
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]