aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index f31f460878..57e3d6cea0 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -56,7 +56,9 @@ extern char *evolution_debug_log;
static void
no_views_left_cb (EShell *shell, gpointer data)
{
- e_shell_quit (shell);
+ /* FIXME: This is wrong. We should exit only when the shell is
+ destroyed. But refcounting is broken at present, so this is a
+ reasonable workaround for now. */
gtk_main_quit ();
}