aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index dfc4a17643..2807600f68 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -436,7 +436,10 @@ idle_cb (void *data)
CORBA_Environment ev;
CORBA_exception_init (&ev);
- GNOME_Evolution_Shell_createNewWindow (corba_shell, default_component_id, &ev);
+ if (default_component_id == NULL)
+ GNOME_Evolution_Shell_createNewWindow (corba_shell, "", &ev);
+ else
+ GNOME_Evolution_Shell_createNewWindow (corba_shell, default_component_id, &ev);
CORBA_exception_free (&ev);
}