diff options
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.) */ |