[Fix #7775, crash trying to do New Task]

* e-shell-user-creatable-items-handler.c (verb_fn): Make sure we
don't pass NULL strings to
`GNOME_Evolution_ShellComponent_userCreateNewItem()'.

svn path=/trunk/; revision=12388
This commit is contained in:
Ettore Perazzoli
2001-08-22 18:53:47 +00:00
parent 6fea277b7a
commit 5bfca4b535
2 changed files with 10 additions and 2 deletions

View File

@ -303,8 +303,8 @@ verb_fn (BonoboUIComponent *ui_component,
GNOME_Evolution_ShellComponent_userCreateNewItem
(bonobo_object_corba_objref (BONOBO_OBJECT (component->component_client)),
id,
e_shell_view_get_current_physical_uri (shell_view),
e_shell_view_get_current_folder_type (shell_view),
e_safe_corba_string (e_shell_view_get_current_physical_uri (shell_view)),
e_safe_corba_string (e_shell_view_get_current_folder_type (shell_view)),
&ev);
if (ev._major != CORBA_NO_EXCEPTION)