diff options
author | Chris Toshok <toshok@ximian.com> | 2003-04-28 16:36:51 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-04-28 16:36:51 +0800 |
commit | a3a311f7029f00d963364d66ad887b3f7793b235 (patch) | |
tree | 574d3066c7275a97b0dba1693317805047e33b8b /addressbook/gui | |
parent | bccf5a543b4290d313bdbe9645b476f979a9fab7 (diff) | |
download | gsoc2013-evolution-a3a311f7029f00d963364d66ad887b3f7793b235.tar gsoc2013-evolution-a3a311f7029f00d963364d66ad887b3f7793b235.tar.gz gsoc2013-evolution-a3a311f7029f00d963364d66ad887b3f7793b235.tar.bz2 gsoc2013-evolution-a3a311f7029f00d963364d66ad887b3f7793b235.tar.lz gsoc2013-evolution-a3a311f7029f00d963364d66ad887b3f7793b235.tar.xz gsoc2013-evolution-a3a311f7029f00d963364d66ad887b3f7793b235.tar.zst gsoc2013-evolution-a3a311f7029f00d963364d66ad887b3f7793b235.zip |
[ fixes bug #41779 ] we don't need to call gtk_widget_destroy on the old
2003-04-28 Chris Toshok <toshok@ximian.com>
[ 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.
svn path=/trunk/; revision=20977
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/e-address-popup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <addressbook/gui/contact-editor/e-contact-quick-add.h> #include <addressbook/gui/widgets/e-minicard-widget.h> #include <addressbook/gui/widgets/e-addressbook-util.h> +#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); } |