aboutsummaryrefslogtreecommitdiffstats
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
parent94cb75aa12d8d5bcc13dd24cde20203c9917b19b (diff)
downloadgsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.tar
gsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.tar.gz
gsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.tar.bz2
gsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.tar.lz
gsoc2013-evolution-82a4a84c7a85876e55eda384a14af5a91a290360.tar.xz
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
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index f93856db46..ff86a595eb 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,10 @@
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):
gtk_widget_show_now() the dialog.
* e-shell-startup-wizard.c (prepare_importer_page): Likewise.
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;
}