Commit ece16014 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

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.
parent 7d416fec
2005-09-14 Matthias Clasen <mclasen@redhat.com> 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 * gtk/updateiconcache.c (foreach_remove_func): Fix
a use-after-free bug. (#316256, Alexander Nedotsukov) a use-after-free bug. (#316256, Alexander Nedotsukov)
......
2005-09-14 Matthias Clasen <mclasen@redhat.com> 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 * gtk/updateiconcache.c (foreach_remove_func): Fix
a use-after-free bug. (#316256, Alexander Nedotsukov) a use-after-free bug. (#316256, Alexander Nedotsukov)
......
...@@ -161,7 +161,7 @@ gtk_button_get_type (void) ...@@ -161,7 +161,7 @@ gtk_button_get_type (void)
NULL, /* class_finalize */ NULL, /* class_finalize */
NULL, /* class_data */ NULL, /* class_data */
sizeof (GtkButton), sizeof (GtkButton),
16, /* n_preallocs */ 0, /* n_preallocs */
(GInstanceInitFunc) gtk_button_init, (GInstanceInitFunc) gtk_button_init,
}; };
......
...@@ -214,7 +214,7 @@ gtk_label_get_type (void) ...@@ -214,7 +214,7 @@ gtk_label_get_type (void)
NULL, /* class_finalize */ NULL, /* class_finalize */
NULL, /* class_data */ NULL, /* class_data */
sizeof (GtkLabel), sizeof (GtkLabel),
32, /* n_preallocs */ 0, /* n_preallocs */
(GInstanceInitFunc) gtk_label_init, (GInstanceInitFunc) gtk_label_init,
}; };
......
...@@ -6930,7 +6930,7 @@ gtk_window_group_get_type (void) ...@@ -6930,7 +6930,7 @@ gtk_window_group_get_type (void)
NULL, /* class_finalize */ NULL, /* class_finalize */
NULL, /* class_data */ NULL, /* class_data */
sizeof (GtkWindowGroup), sizeof (GtkWindowGroup),
16, /* n_preallocs */ 0, /* n_preallocs */
(GInstanceInitFunc) NULL, (GInstanceInitFunc) NULL,
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment