diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-23 02:53:47 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-08-23 02:53:47 +0800 |
commit | 5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb (patch) | |
tree | c193db9113878c82e64eaba47a3c5d7b3c7f14e7 | |
parent | 6fea277b7a74570243989f30b09ae895bc96ee47 (diff) | |
download | gsoc2013-evolution-5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb.tar gsoc2013-evolution-5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb.tar.gz gsoc2013-evolution-5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb.tar.bz2 gsoc2013-evolution-5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb.tar.lz gsoc2013-evolution-5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb.tar.xz gsoc2013-evolution-5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb.tar.zst gsoc2013-evolution-5bfca4b535fd0d85cec6b81c40aef9fb5d0b7acb.zip |
[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
-rw-r--r-- | shell/ChangeLog | 8 | ||||
-rw-r--r-- | shell/e-shell-user-creatable-items-handler.c | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index c488b67276..6e036b1192 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,11 @@ +2001-08-22 Ettore Perazzoli <ettore@ximian.com> + + [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()'. + 2001-08-21 Damon Chaplin <damon@ximian.com> * e-gray-bar.c (endarken_style): unref the rc_style. diff --git a/shell/e-shell-user-creatable-items-handler.c b/shell/e-shell-user-creatable-items-handler.c index ed8f727f41..faa5b5cc9f 100644 --- a/shell/e-shell-user-creatable-items-handler.c +++ b/shell/e-shell-user-creatable-items-handler.c @@ -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) |