From 3d76b85133e04ee93d227eb6a7dda79bb5204643 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 5 Oct 2001 20:06:57 +0000 Subject: Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL. * main.c (idle_cb): Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL. svn path=/trunk/; revision=13462 --- shell/ChangeLog | 5 +++++ shell/main.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 2b23c12358..81f7c0e9ec 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2001-10-05 Ettore Perazzoli + + * main.c (idle_cb): Do not invoke + `e_shell_restore_from_settings()' if `shell' is NULL. + 2001-10-05 Ettore Perazzoli * e-shell-view.c (e_shell_view_save_settings): Get the right diff --git a/shell/main.c b/shell/main.c index 5260ea5696..7ceac7e537 100644 --- a/shell/main.c +++ b/shell/main.c @@ -260,7 +260,7 @@ idle_cb (void *data) } if (! have_evolution_uri) { - if (! e_shell_restore_from_settings (shell)) { + if (shell == NULL || ! e_shell_restore_from_settings (shell)) { const char *uri; uri = E_SHELL_VIEW_DEFAULT_URI; -- cgit v1.2.3