diff options
author | JP Rosevear <jpr@ximian.com> | 2004-02-05 04:45:45 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2004-02-05 04:45:45 +0800 |
commit | 984ebf4e0632dce402a43ac24e08c2345a98772a (patch) | |
tree | 2d8dd281a2a75098cefe58236104d2884b826f84 | |
parent | fcb6b0d8c35a49e94bfbbaaeffc929f88705efe3 (diff) | |
download | gsoc2013-evolution-984ebf4e0632dce402a43ac24e08c2345a98772a.tar gsoc2013-evolution-984ebf4e0632dce402a43ac24e08c2345a98772a.tar.gz gsoc2013-evolution-984ebf4e0632dce402a43ac24e08c2345a98772a.tar.bz2 gsoc2013-evolution-984ebf4e0632dce402a43ac24e08c2345a98772a.tar.lz gsoc2013-evolution-984ebf4e0632dce402a43ac24e08c2345a98772a.tar.xz gsoc2013-evolution-984ebf4e0632dce402a43ac24e08c2345a98772a.tar.zst gsoc2013-evolution-984ebf4e0632dce402a43ac24e08c2345a98772a.zip |
make this C89 compliant
2004-02-04 JP Rosevear <jpr@ximian.com>
* e-shell.c (e_shell_quit): make this C89 compliant
svn path=/trunk/; revision=24617
-rw-r--r-- | shell/ChangeLog | 4 | ||||
-rw-r--r-- | shell/e-shell.c | 6 |
2 files changed, 7 insertions, 3 deletions
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 <jpr@ximian.com> + + * e-shell.c (e_shell_quit): make this C89 compliant + 2004-02-04 Not Zed <NotZed@Ximian.com> ** 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) { |