Sun Sep 17 2000 Elliot Lee <sopwith@redhat.com> Define g_alloca() as an
[platform/upstream/glib.git] / gthread.c
index 654138f..034e771 100644 (file)
--- a/gthread.c
+++ b/gthread.c
@@ -55,14 +55,8 @@ GQuark
 g_thread_error_quark()
 {
   static GQuark quark;
-  G_LOCK_DEFINE_STATIC(lock);
   if (!quark)
-  {
-    G_LOCK (lock);
-    if (!quark)
-      quark = g_quark_from_static_string ("g-thread-error");
-    G_UNLOCK (lock);
-  }
+    quark = g_quark_from_static_string ("g_thread_error");
   return quark;
 }