aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 3799a2b513..f2f41baa32 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -2200,7 +2200,7 @@ e_shell_prepare_for_quit (EShell *shell)
while (result == (GNOME_Evolution_ShellComponentListener_Result) -1)
gtk_main_iteration ();
- if (result != GNOME_Evolution_ShellComponentListener_OK) {
+ if (result == GNOME_Evolution_ShellComponentListener_CANCEL) {
retval = FALSE;
goto end;
}