aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-05 05:20:57 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-05 05:20:57 +0800
commit012f7f454a31d5430eae0d4372b49f537ec65beb (patch)
tree8b6ab5893b2644f6f65c5851d9ea90998379aa23 /shell/e-shell.c
parent099d43d698f0fcc54ac2028d2b47a580d612100c (diff)
downloadgsoc2013-evolution-012f7f454a31d5430eae0d4372b49f537ec65beb.tar.gz
gsoc2013-evolution-012f7f454a31d5430eae0d4372b49f537ec65beb.tar.zst
gsoc2013-evolution-012f7f454a31d5430eae0d4372b49f537ec65beb.zip
Shut down other components correctly when cancelling the first time startup dialog
svn path=/trunk/; revision=12600
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 64f6364a08..23cd4bc7e6 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -969,7 +969,9 @@ e_shell_construct (EShell *shell,
}
if (e_shell_startup_wizard_create () == FALSE) {
- /* FIXME: Need to kill all components somehow */
+ e_shell_unregister_all (shell);
+ bonobo_object_unref (BONOBO_OBJECT (shell));
+
exit (0);
}
shortcut_path = g_concat_dir_and_file (local_directory, "shortcuts.xml");