aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-02-05 04:45:45 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-02-05 04:45:45 +0800
commit984ebf4e0632dce402a43ac24e08c2345a98772a (patch)
tree2d8dd281a2a75098cefe58236104d2884b826f84 /shell/e-shell.c
parentfcb6b0d8c35a49e94bfbbaaeffc929f88705efe3 (diff)
downloadgsoc2013-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
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c6
1 files changed, 3 insertions, 3 deletions
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) {