[glib] No necessary to init qdata atomically
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] No necessary to init qdata atomically
- Date: Sun, 5 Jun 2011 03:14:57 +0000 (UTC)
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]