From 7a7653f20a4e115339a40ceba828a6ccd35e4653 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 8 Sep 2000 11:02:42 +0000 Subject: Changed so that ::set_owner is called after setting up the local storage, instead of being called before. svn path=/trunk/; revision=5259 --- shell/e-component-registry.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'shell/e-component-registry.c') 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) { -- cgit v1.2.3