diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 550daa7917..1969926b2f 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2003-04-28 Chris Toshok + + [ fixes bug #41779 ] + * gui/component/e-address-popup.c (mini_wizard_container_add): we + don't need to call gtk_widget_destroy on the old child, since + gtk_container_remove will unref it for us. + 2003-04-23 Chris Toshok [ fixes bug #37351 ] diff --git a/addressbook/gui/component/e-address-popup.c b/addressbook/gui/component/e-address-popup.c index b920fbf7ed..8d3adb6446 100644 --- a/addressbook/gui/component/e-address-popup.c +++ b/addressbook/gui/component/e-address-popup.c @@ -42,6 +42,7 @@ #include #include #include +#include "e-util/e-gui-utils.h" /* * Some general scaffolding for our widgets. Think of this as a really, really @@ -73,7 +74,6 @@ mini_wizard_container_add (MiniWizard *wiz, GtkWidget *w) GtkWidget *oldw = (GtkWidget *) iter->data; iter = g_list_next (iter); gtk_container_remove (GTK_CONTAINER (wiz->vbox), oldw); - gtk_widget_destroy (oldw); } gtk_container_add (GTK_CONTAINER (wiz->vbox), w); }