add g_async_queue_new_full() which takes a GDestroyNotify function to free
authorTim-Philipp Müller <tpm@src.gnome.org>
Tue, 18 Dec 2007 16:46:36 +0000 (16:46 +0000)
committerTim-Philipp Müller <tpm@src.gnome.org>
Tue, 18 Dec 2007 16:46:36 +0000 (16:46 +0000)
commit3ca41fe1092a7de0ad5d43b167349edf8c1a3feb
treebd1635a3ab3d0184c1a5d6cd3a56daf53c709486
parentac1723ea97a716e3dee0d8f4441e0c25ea19039c
add g_async_queue_new_full() which takes a GDestroyNotify function to free

* docs/reference/glib/glib-sections.txt:
* glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
  (g_async_queue_unref):
* glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
  GDestroyNotify function to free any remaining queue items when the
  queue is destroyed after the final atomic unref (#367550).

svn path=/trunk/; revision=6152
ChangeLog
docs/reference/glib/glib-sections.txt
glib/gasyncqueue.c
glib/gasyncqueue.h