aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-11-07 13:54:09 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-11-07 13:54:09 +0800
commit9b5a7b08284976e42ebb91980ffc1fe9b0b100e7 (patch)
tree120ef76648780aadc7ce72806f1aaee74151bf0e
parent200606f92810d3de322e5ee96f8326e1a656f8bb (diff)
downloadgsoc2013-evolution-9b5a7b08284976e42ebb91980ffc1fe9b0b100e7.tar
gsoc2013-evolution-9b5a7b08284976e42ebb91980ffc1fe9b0b100e7.tar.gz
gsoc2013-evolution-9b5a7b08284976e42ebb91980ffc1fe9b0b100e7.tar.bz2
gsoc2013-evolution-9b5a7b08284976e42ebb91980ffc1fe9b0b100e7.tar.lz
gsoc2013-evolution-9b5a7b08284976e42ebb91980ffc1fe9b0b100e7.tar.xz
gsoc2013-evolution-9b5a7b08284976e42ebb91980ffc1fe9b0b100e7.tar.zst
gsoc2013-evolution-9b5a7b08284976e42ebb91980ffc1fe9b0b100e7.zip
don't destroy the widget here - its dead when removed from the paned
2003-11-07 JP Rosevear <jpr@ximian.com> * gui/widgets/e-addressbook-view.c (change_view_type): don't destroy the widget here - its dead when removed from the paned container svn path=/trunk/; revision=23207
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c1
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 1997df2897..e50665e132 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+2003-11-07 <jpr@ximian.com>
+
+ * gui/widgets/e-addressbook-view.c (change_view_type): don't
+ destroy the widget here - its dead when removed from the paned
+ container
+
2003-11-07 JP Rosevear <jpr@ximian.com>
* In the gui this is a search and replace commit for moving the
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 7481ed6247..5303b279be 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -1287,7 +1287,6 @@ change_view_type (EABView *view, EABViewType view_type)
if (view->widget) {
gtk_container_remove (GTK_CONTAINER (view->paned), view->widget);
- gtk_widget_destroy (view->widget);
view->widget = NULL;
}
view->object = NULL;