No point in using a mem chunk for window groups, buttons, labels.

2005-09-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_get_type):
	* gtk/gtkbutton.c (gtk_button_get_type):
	* gtk/gtkwindow.c (gtk_window_group_get_type): No point in
	using a mem chunk for window groups, buttons, labels.
This commit is contained in:
Matthias Clasen 2005-09-14 04:31:23 +00:00 committed by Matthias Clasen
parent 7d416fec1b
commit ece1601498
5 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,10 @@
2005-09-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_get_type):
* gtk/gtkbutton.c (gtk_button_get_type):
* gtk/gtkwindow.c (gtk_window_group_get_type): No point in
using a mem chunk for window groups, buttons, labels.
* gtk/updateiconcache.c (foreach_remove_func): Fix
a use-after-free bug. (#316256, Alexander Nedotsukov)

View File

@ -1,5 +1,10 @@
2005-09-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_get_type):
* gtk/gtkbutton.c (gtk_button_get_type):
* gtk/gtkwindow.c (gtk_window_group_get_type): No point in
using a mem chunk for window groups, buttons, labels.
* gtk/updateiconcache.c (foreach_remove_func): Fix
a use-after-free bug. (#316256, Alexander Nedotsukov)

View File

@ -161,7 +161,7 @@ gtk_button_get_type (void)
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GtkButton),
16, /* n_preallocs */
0, /* n_preallocs */
(GInstanceInitFunc) gtk_button_init,
};

View File

@ -214,7 +214,7 @@ gtk_label_get_type (void)
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GtkLabel),
32, /* n_preallocs */
0, /* n_preallocs */
(GInstanceInitFunc) gtk_label_init,
};

View File

@ -6930,7 +6930,7 @@ gtk_window_group_get_type (void)
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GtkWindowGroup),
16, /* n_preallocs */
0, /* n_preallocs */
(GInstanceInitFunc) NULL,
};