diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 05:20:51 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-15 05:20:51 +0800 |
commit | 855c5c4d6f383f688a7ab63392b9af5cff4fb021 (patch) | |
tree | 5361fe4e70f086076e7e29412d105904d9e99890 /shell/e-storage-set-view.c | |
parent | 7a6310d1181aeb72d742e0549f577009b4c285ce (diff) | |
download | gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar.gz gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.tar.zst gsoc2013-evolution-855c5c4d6f383f688a7ab63392b9af5cff4fb021.zip |
(impl_dispose): NULL priv->ui_component
after unreffing it.
svn path=/trunk/; revision=18760
Diffstat (limited to 'shell/e-storage-set-view.c')
-rw-r--r-- | shell/e-storage-set-view.c | 4 |
1 files changed, 3 insertions, 1 deletions
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.) */ |