svn path=/trunk/; revision=3794
This commit is contained in:
Peter Williams
2000-06-29 16:36:43 +00:00
parent 8ba0e76ccb
commit eb200d7ae0
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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++) {