Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here.

* e-shell.c (destroy): Set ->is_initialized to %FALSE.
(e_shell_unregister_all): Same here.

svn path=/trunk/; revision=14170
This commit is contained in:
Ettore Perazzoli
2001-10-26 21:00:36 +00:00
parent 94cb75aa12
commit 82a4a84c7a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-10-26 Ettore Perazzoli <ettore@ximian.com>
* e-shell.c (destroy): Set ->is_initialized to %FALSE.
(e_shell_unregister_all): Same here.
2001-10-26 Ettore Perazzoli <ettore@ximian.com>
* e-shell-importer.c (prepare_intelligent_page):

View File

@ -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;
}