aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-11-15 05:20:51 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-11-15 05:20:51 +0800
commit855c5c4d6f383f688a7ab63392b9af5cff4fb021 (patch)
tree5361fe4e70f086076e7e29412d105904d9e99890
parent7a6310d1181aeb72d742e0549f577009b4c285ce (diff)
downloadgsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar
gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar.gz
gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar.bz2
gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar.lz
gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar.xz
gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar.zst
gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.zip
(impl_dispose): NULL priv->ui_component
after unreffing it. svn path=/trunk/; revision=18760
-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.) */