From 855c5c4d6f383f688a7ab63392b9af5cff4fb021 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 14 Nov 2002 21:20:51 +0000 Subject: (impl_dispose): NULL priv->ui_component after unreffing it. svn path=/trunk/; revision=18760 --- shell/e-storage-set-view.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/e-storage-set-view.c') 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.) */ -- cgit