aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-27 05:00:36 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-27 05:00:36 +0800
commit82a4a84c7a85876e55eda384a14af5a91a290360 (patch)
tree68f392d9ff2123db35a1eb1e04bd5e4c5b8b998c /shell/e-shell.c
parent94cb75aa12d8d5bcc13dd24cde20203c9917b19b (diff)
downloadgsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.tar.gz
gsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.tar.zst
gsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.zip
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
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c4
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;
}