aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r--shell/e-component-registry.c9
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) {