diff options
Diffstat (limited to 'shell/main.c')
-rw-r--r-- | shell/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |