mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
We need to set n_preallocs to a nonzero value, otherwise GTK+ 2.8 breaks
2005-11-07 Matthias Clasen <mclasen@redhat.com> * glib/gmem.c (g_allocator_new): We need to set n_preallocs to a nonzero value, otherwise GTK+ 2.8 breaks when compiled against GLib 2.9. (#320755, Luca Ferretti)
This commit is contained in:
parent
bfffa93077
commit
7efd9fe3c8
@ -1,3 +1,9 @@
|
||||
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmem.c (g_allocator_new): We need to set n_preallocs to a
|
||||
nonzero value, otherwise GTK+ 2.8 breaks when compiled against
|
||||
GLib 2.9. (#320755, Luca Ferretti)
|
||||
|
||||
2005-11-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/Makefile.am: Apply a patch from Behdad Esfahbod to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmem.c (g_allocator_new): We need to set n_preallocs to a
|
||||
nonzero value, otherwise GTK+ 2.8 breaks when compiled against
|
||||
GLib 2.9. (#320755, Luca Ferretti)
|
||||
|
||||
2005-11-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/Makefile.am: Apply a patch from Behdad Esfahbod to
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-11-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gmem.c (g_allocator_new): We need to set n_preallocs to a
|
||||
nonzero value, otherwise GTK+ 2.8 breaks when compiled against
|
||||
GLib 2.9. (#320755, Luca Ferretti)
|
||||
|
||||
2005-11-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/Makefile.am: Apply a patch from Behdad Esfahbod to
|
||||
|
@ -1279,7 +1279,7 @@ g_allocator_new (const gchar *name,
|
||||
GMemChunk *mem_chunk;
|
||||
gpointer free_list;
|
||||
} dummy = {
|
||||
"GAllocator is deprecated", 0, TRUE, 0, NULL, NULL, NULL,
|
||||
"GAllocator is deprecated", 1, TRUE, 0, NULL, NULL, NULL,
|
||||
};
|
||||
/* some (broken) GAllocator uses depend on non-NULL allocators */
|
||||
return (GAllocator*) &dummy;
|
||||
|
Loading…
Reference in New Issue
Block a user