aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-06-30 00:36:43 +0800
committerPeter Williams <peterw@src.gnome.org>2000-06-30 00:36:43 +0800
commiteb200d7ae034abefc93fd704ec16c19981d868e5 (patch)
tree71839e9dde7a64e30284732cee8dd49730c6e735
parent8ba0e76ccb80df199a04f8b9d60afcf7e5930666 (diff)
downloadgsoc2013-evolution-eb200d7ae034abefc93fd704ec16c19981d868e5.tar.gz
gsoc2013-evolution-eb200d7ae034abefc93fd704ec16c19981d868e5.tar.zst
gsoc2013-evolution-eb200d7ae034abefc93fd704ec16c19981d868e5.zip
Typo fix
svn path=/trunk/; revision=3794
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 904b7e342a..878ead2a0a 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-29 Peter Williams <peter@beta.newton.cx>
+
+ * e-shell.c (e_shell_restore_from_settings): Check for the
+ insanely invalid NumberOfViews = 0 case.
+
2000-06-29 Peter Williams <peter@helixcode.com>
* e-shell.c (e_shell_construct): Ref the various E-things that
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 25a7d5903a..3cf7043183 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -644,7 +644,9 @@ e_shell_restore_from_settings (EShell *shell)
gconf_error_destroy (err);
return FALSE;
}
-
+ if (num_views == 0)
+ return FALSE;
+
retval = TRUE;
for (i = 0; i < num_views; i++) {