aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-storage-set-view.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index ac19b76ac1..084e16e565 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
2002-11-14 Ettore Perazzoli <ettore@ximian.com>
+ * e-storage-set-view.c (impl_dispose): NULL priv->ui_component
+ after unreffing it.
+
+2002-11-14 Ettore Perazzoli <ettore@ximian.com>
+
* evolution-shell-component-client.c (destroy_listener_interface):
Avoid freeing the servant for now, it looks like something is
messed up and this causes a crash on exit.
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 374154f01c..cfa97d9583 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -862,8 +862,10 @@ impl_dispose (GObject *object)
priv->drag_corba_source_interface = CORBA_OBJECT_NIL;
}
- if (priv->ui_component != NULL)
+ if (priv->ui_component != NULL) {
bonobo_object_unref (BONOBO_OBJECT (priv->ui_component));
+ priv->ui_component = NULL;
+ }
/* (No unreffing for priv->ui_container since we use a weakref.) */