diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-27 02:21:57 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2001-10-27 02:21:57 +0800 |
commit | 12333f4dff98802f83a9d0c5f1881345cc3be058 (patch) | |
tree | 05083e03eb79b5ae1ed5f37e7a74c170024b8e68 /shell/e-component-registry.c | |
parent | 86a201c22b648be7ce815f64e2cd80b54c6edc8a (diff) | |
download | gsoc2013-evolution-12333f4dff98802f83a9d0c5f1881345cc3be058.tar.gz gsoc2013-evolution-12333f4dff98802f83a9d0c5f1881345cc3be058.tar.zst gsoc2013-evolution-12333f4dff98802f83a9d0c5f1881345cc3be058.zip |
Don't allow invalid folder names. [#12027]
* e-shell-folder-commands.c (e_shell_command_rename_folder): Don't
allow invalid folder names. [#12027]
* e-shell-folder-creation-dialog.c (entry_name_is_valid): Removed.
(dialog_clicked_cb): Use `e_shell_folder_name_is_valid()' instead.
* e-shell-utils.c (e_shell_folder_name_is_valid): New. Sorry I18N
people, it breaks the string freeze slighty.
* e-component-registry.c (component_free): Add a cast.
(e_component_registry_restart_component): Argh, use the
corba_objref properly in calling `wait_for_corba_object_to_die()'.
svn path=/trunk/; revision=14152
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r-- | shell/e-component-registry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c index 7448e1b4a8..a1f86b71e4 100644 --- a/shell/e-component-registry.c +++ b/shell/e-component-registry.c @@ -120,7 +120,7 @@ component_free (Component *component) bonobo_object_unref (BONOBO_OBJECT (component->client)); - wait_for_corba_object_to_die (corba_shell_component, component->id); + wait_for_corba_object_to_die ((Bonobo_Unknown) corba_shell_component, component->id); CORBA_Object_release (corba_shell_component, &ev); e_free_string_list (component->folder_type_names); @@ -464,7 +464,7 @@ e_component_registry_restart_component (EComponentRegistry *component_registry, component_free (component); - wait_for_corba_object_to_die (component, id); + wait_for_corba_object_to_die (corba_objref, id); CORBA_exception_free (&ev); |