diff options
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r-- | shell/e-shell.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c index 017ee41901..e34f976a99 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -906,6 +906,8 @@ destroy (GtkObject *object) shell = E_SHELL (object); priv = shell->priv; + priv->is_initialized = FALSE; + e_shell_disconnect_db (shell); if (priv->iid != NULL) @@ -1852,6 +1854,8 @@ e_shell_unregister_all (EShell *shell) priv = shell->priv; + priv->is_initialized = FALSE; + gtk_object_unref (GTK_OBJECT (priv->component_registry)); priv->component_registry = NULL; } |