diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-08 19:02:42 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-09-08 19:02:42 +0800 |
commit | 7a7653f20a4e115339a40ceba828a6ccd35e4653 (patch) | |
tree | 794ab665f472b782e5951d9d646311fa3637819e /shell/e-component-registry.c | |
parent | e9913e316c20ef81f371c2a6f449bcdc7d25236f (diff) | |
download | gsoc2013-evolution-7a7653f20a4e115339a40ceba828a6ccd35e4653.tar.gz gsoc2013-evolution-7a7653f20a4e115339a40ceba828a6ccd35e4653.tar.zst gsoc2013-evolution-7a7653f20a4e115339a40ceba828a6ccd35e4653.zip |
Changed so that ::set_owner is called after setting up the local
storage, instead of being called before.
svn path=/trunk/; revision=5259
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r-- | shell/e-component-registry.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c index 411fe93d42..589d6bca38 100644 --- a/shell/e-component-registry.c +++ b/shell/e-component-registry.c @@ -138,7 +138,6 @@ register_component (EComponentRegistry *component_registry, EvolutionShellComponentClient *client; CORBA_Environment ev; CORBA_unsigned_long i; - const char *local_directory; priv = component_registry->priv; @@ -158,14 +157,6 @@ register_component (EComponentRegistry *component_registry, component_corba_interface = bonobo_object_corba_objref (BONOBO_OBJECT (client)); shell_corba_interface = bonobo_object_corba_objref (BONOBO_OBJECT (priv->shell)); - local_directory = e_shell_get_local_directory (priv->shell); - - Evolution_ShellComponent_set_owner (component_corba_interface, shell_corba_interface, local_directory, &ev); - if (ev._major != CORBA_NO_EXCEPTION) { - bonobo_object_unref (BONOBO_OBJECT (client)); - CORBA_exception_free (&ev); - return FALSE; - } supported_types = Evolution_ShellComponent__get_supported_types (component_corba_interface, &ev); if (ev._major != CORBA_NO_EXCEPTION || supported_types->_length == 0) { |