Make g_type_class_peek[_static]() not take any locks
authorBenjamin Otte <otte@gnome.org>
Thu, 24 Sep 2009 12:57:19 +0000 (14:57 +0200)
committerAlexander Larsson <alexl@redhat.com>
Mon, 30 Nov 2009 19:52:33 +0000 (20:52 +0100)
commit5cac5c828b9d56ed0b1932deb7364d6ba926eb96
tree3cea4dd815ad9d528c48c4dcccecde7fe732c489
parent83ee0d947d7c103e975be0fc4e62415ad7d57571
Make g_type_class_peek[_static]() not take any locks

By replacing a check for node->data with a check for NODE_REFCOUNT(node)
these functions don't require a read lock anymore.
gobject/gtype.c