aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;