aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-10-06 04:06:57 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-10-06 04:06:57 +0800
commit3d76b85133e04ee93d227eb6a7dda79bb5204643 (patch)
treeee628afa0ecd4b6c195d13a390de1f689de156b3 /shell/main.c
parenta19af27803a7c021eb631102194aeb959b273ea5 (diff)
downloadgsoc2013-evolution-3d76b85133e04ee93d227eb6a7dda79bb5204643.tar.gz
gsoc2013-evolution-3d76b85133e04ee93d227eb6a7dda79bb5204643.tar.zst
gsoc2013-evolution-3d76b85133e04ee93d227eb6a7dda79bb5204643.zip
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
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c2
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;