giounix.c: s/g_main_poll_add/g_main_remove_add/g

Wed Dec 16 22:32:13 CST 1998 Shawn T. Amundson <amundson@gtk.org>

        * glib.h:
          giounix.c: s/g_main_poll_add/g_main_remove_add/g
                     s/g_main_poll_remove/g_main_remove_poll/g
                     s/g_main_poll_add_unlocking/g_main_add_unlocking_poll/g
          (from Tim Janik)

        * gthread-posix.c: use g_free in mutex_free (from Tim Janik)
This commit is contained in:
CST 1998 Shawn T. Amundson
1998-12-17 04:36:04 +00:00
committed by Shawn Amundson
parent 6166dd889d
commit 77ccad4d2f
16 changed files with 89 additions and 21 deletions

View File

@@ -1,3 +1,7 @@
Wed Dec 16 22:21:33 CST 1998 Shawn T. Amundson <amundson@gtk.org>
* gthread-posix.c: use g_free in mutex_free (from Tim Janik)
Thu Dec 17 03:38:57 1998 Tim Janik <timj@gtk.org>
* Makefile.am: -DG_LOG_DOMAIN="GThread", we don't need an extern

View File

@@ -51,7 +51,7 @@ static void
g_mutex_free_posix_impl (GMutex * mutex)
{
posix_check_for_error (pthread_mutex_destroy ((pthread_mutex_t *) mutex));
free (mutex);
g_free (mutex);
}
/* NOTE: the functions g_mutex_lock and g_mutex_unlock may not use