diff --git a/ChangeLog b/ChangeLog index c8f4e853ed..2d2e1b0b2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2005-09-14 Matthias Clasen + * 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) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c8f4e853ed..2d2e1b0b2f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,10 @@ 2005-09-14 Matthias Clasen + * 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) diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index fe7e529404..134fec6eae 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -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, }; diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 10992e48e4..b596d21f54 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -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, }; diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 703dd66b4a..85cc9a27e2 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -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, };