2005-02-20 Matthias Clasen <mclasen@redhat.com>
+ * glib/gqueue.c (g_queue_new): Use a memchunk for
+ sizeof(GQueue)-sized chunks. (#167984, Fabrício Barros Cabral)
+
* glib/gtimer.c (g_usleep): Fix usage of
nanosleep(). (#163039, Bastien Nocera)
2005-02-20 Matthias Clasen <mclasen@redhat.com>
+ * glib/gqueue.c (g_queue_new): Use a memchunk for
+ sizeof(GQueue)-sized chunks. (#167984, Fabrício Barros Cabral)
+
* glib/gtimer.c (g_usleep): Fix usage of
nanosleep(). (#163039, Bastien Nocera)
2005-02-20 Matthias Clasen <mclasen@redhat.com>
+ * glib/gqueue.c (g_queue_new): Use a memchunk for
+ sizeof(GQueue)-sized chunks. (#167984, Fabrício Barros Cabral)
+
* glib/gtimer.c (g_usleep): Fix usage of
nanosleep(). (#163039, Bastien Nocera)
2005-02-20 Matthias Clasen <mclasen@redhat.com>
+ * glib/gqueue.c (g_queue_new): Use a memchunk for
+ sizeof(GQueue)-sized chunks. (#167984, Fabrício Barros Cabral)
+
* glib/gtimer.c (g_usleep): Fix usage of
nanosleep(). (#163039, Bastien Nocera)
{
if (!queue_memchunk)
queue_memchunk = g_mem_chunk_new ("GLib GQueue chunk",
- sizeof (GNode),
- sizeof (GNode) * 128,
+ sizeof (GQueue),
+ sizeof (GQueue) * 128,
G_ALLOC_ONLY);
queue = g_chunk_new (GQueue, queue_memchunk);
}