Fixed stupid bug, that made g_static_mutex_lock(*mutex) not work as
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Wed, 16 Dec 1998 10:32:12 +0000 (10:32 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 16 Dec 1998 10:32:12 +0000 (10:32 +0000)
1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>

* configure.in: Fixed stupid bug, that made
g_static_mutex_lock(*mutex) not work as expected.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
configure.in

index ff87d1e..976a94f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index ff87d1e..976a94f 100644 (file)
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index ff87d1e..976a94f 100644 (file)
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index ff87d1e..976a94f 100644 (file)
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index ff87d1e..976a94f 100644 (file)
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index ff87d1e..976a94f 100644 (file)
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index ff87d1e..976a94f 100644 (file)
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index ff87d1e..976a94f 100644 (file)
@@ -1,5 +1,8 @@
 1998-12-16  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
+       * configure.in: Fixed stupid bug, that made
+       g_static_mutex_lock(*mutex) not work as expected.
+
        * docs/glib-config.1: Updated to reflect the existence of gthread.
 
        * gmain.c (g_main_poll_add_unlocking): Changed
index 42ca0ff..d060709 100644 (file)
@@ -837,8 +837,8 @@ struct _GStaticMutex
 };
 #define G_STATIC_MUTEX_INIT { $g_mutex_default_init, NULL }
 #define g_static_mutex_get_mutex(mutex) \
-  ( g_thread_use_default_impl ? (GMutex*)&mutex.default_mutex : \
-    g_static_mutex_get_mutex_impl(&mutex.runtime_mutex) )
+  ( g_thread_use_default_impl ? (GMutex*)&(mutex).default_mutex : \
+    g_static_mutex_get_mutex_impl(&(mutex).runtime_mutex) )
 outfile_EOF
   else
 cat >>$outfile <<outfile_EOF