From 984ebf4e0632dce402a43ac24e08c2345a98772a Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 4 Feb 2004 20:45:45 +0000 Subject: make this C89 compliant 2004-02-04 JP Rosevear * e-shell.c (e_shell_quit): make this C89 compliant svn path=/trunk/; revision=24617 --- shell/ChangeLog | 4 ++++ shell/e-shell.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 1268414dfb..dd13623e88 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2004-02-04 JP Rosevear + + * e-shell.c (e_shell_quit): make this C89 compliant + 2004-02-04 Not Zed ** See bug #53683. diff --git a/shell/e-shell.c b/shell/e-shell.c index 172939c387..18909bd0ff 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -1122,9 +1122,6 @@ es_run_quit(EShell *shell) gboolean e_shell_quit(EShell *shell) { - if (shell->priv->preparing_to_quit) - return FALSE; - EShellPrivate *priv; GSList *component_infos; GSList *sp; @@ -1134,6 +1131,9 @@ e_shell_quit(EShell *shell) priv = shell->priv; + if (priv->preparing_to_quit) + return FALSE; + component_infos = e_component_registry_peek_list (priv->component_registry); can_quit = TRUE; for (sp = component_infos; sp != NULL; sp = sp->next) { -- cgit