hack this so it compiles, needs fixing for real.
authorHavoc Pennington <hp@redhat.com>
Mon, 29 Jan 2001 17:31:40 +0000 (17:31 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Mon, 29 Jan 2001 17:31:40 +0000 (17:31 +0000)
2001-01-29  Havoc Pennington  <hp@redhat.com>

* gthread-impl.c (g_mutex_free_errorcheck_impl): hack this so it
compiles, needs fixing for real.

gthread/ChangeLog
gthread/gthread-impl.c

index 551d37e2c7fbe610df0b6c9247ce6f55ed73e68e..7b66732622f11316d8bdd3891ea200bcdd2eb9a1 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-29  Havoc Pennington  <hp@redhat.com>
+
+       * gthread-impl.c (g_mutex_free_errorcheck_impl): hack this so it
+       compiles, needs fixing for real.
+
 2001-01-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
        * gthread-impl.c (g_mutex_free_errorcheck_impl): Add new check to
index 56e244845010dade9062ecbd7695324eb9e87ab2..5c87b087d5b17a0f82e31b9bef7982dd3ff6cdac 100644 (file)
@@ -181,10 +181,12 @@ g_mutex_unlock_errorcheck_impl (GMutex *mutex,
 static void
 g_mutex_free_errorcheck_impl (GMutex *mutex)
 {
+  ErrorCheckInfo *info = G_MUTEX_DEBUG_INFO (mutex);
+  
   if (info && info->owner != NULL)
     g_error ("Trying to free a locked mutex at '%s', "
             "which was previously locked at '%s'", 
-            location, info->location);
+            "FIXME", info->location);
 
   g_free (G_MUTEX_DEBUG_INFO (mutex));
   g_thread_functions_for_glib_use_default.mutex_free (mutex);