From 0e1960fd6ebabd19d49320f86b92dbdad1b1091a Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Tue, 10 Jun 2008 11:41:34 +0000 Subject: [PATCH] g_type_class_ref() comment fixes. svn path=/trunk/; revision=6985 --- gobject/gtype.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gobject/gtype.c b/gobject/gtype.c index 143e1952f..9913212db 100644 --- a/gobject/gtype.c +++ b/gobject/gtype.c @@ -2389,7 +2389,8 @@ g_type_class_ref (GType type) G_WRITE_UNLOCK (&type_rw_lock); g_static_rec_mutex_lock (&class_init_rec_mutex); /* required locking order: 1) class_init_rec_mutex, 2) type_rw_lock */ - /* here, we either have node->data->class.class == NULL, or + /* here, we either have node->data->class.class == NULL, or a recursive + * call to g_type_class_ref() with a partly initialized class, or * node->data->class.init_state == INITIALIZED, because any * concurrently running initialization was guarded by class_init_rec_mutex. */