aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-04-28 16:36:51 +0800
committerChris Toshok <toshok@src.gnome.org>2003-04-28 16:36:51 +0800
commita3a311f7029f00d963364d66ad887b3f7793b235 (patch)
tree574d3066c7275a97b0dba1693317805047e33b8b
parentbccf5a543b4290d313bdbe9645b476f979a9fab7 (diff)
downloadgsoc2013-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
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/component/e-address-popup.c2
2 files changed, 8 insertions, 1 deletions
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 <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.
+
2003-04-23 Chris Toshok <toshok@ximian.com>
[ 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 <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);
}