diff options
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r-- | calendar/gui/calendar-component.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 455ede19ba..1cad66d98c 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -755,9 +755,11 @@ impl_requestCreateItem (PortableServer_Servant servant, priv = calendar_component->priv; - if (!setup_create_ecal (calendar_component)) + if (!setup_create_ecal (calendar_component)) { + bonobo_exception_set (ev, ex_GNOME_Evolution_Component_Failed); return; - + } + editor = event_editor_new (priv->create_ecal); if (strcmp (item_type_name, CREATE_EVENT_ID) == 0) { |