aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/main.c b/shell/main.c
index 40e6d0aaad..78dfe6573c 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -60,6 +60,8 @@ no_views_left_cb (EShell *shell, gpointer data)
destroyed. But refcounting is broken at present, so this is a
reasonable workaround for now. */
+ e_shell_unregister_all (shell);
+
bonobo_object_unref (BONOBO_OBJECT (shell));
gtk_main_quit ();