From 472a6e0fa01103936680f652a4551cbf455efdef Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 10 Jan 2003 21:39:33 +0000 Subject: Don't duplicate the shell object here before passing to * evolution-shell-component.c (impl_setOwner): Don't duplicate the shell object here before passing to evolution_shell_client_new(). * evolution-shell-client.c (evolution_shell_client_construct): Dupliate the @corba_shell before storing into the EvolutionShellClientPrivate struct. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): Do not duplicate the shell's CORBA objref. * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Do not duplicate the shell's CORBA objref. svn path=/trunk/; revision=19415 --- shell/evolution-shell-component.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'shell/evolution-shell-component.c') diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index ea28fa8cf4..abeab450ab 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -400,7 +400,6 @@ impl_setOwner (PortableServer_Servant servant, BonoboObject *bonobo_object; EvolutionShellComponent *shell_component; EvolutionShellComponentPrivate *priv; - GNOME_Evolution_Shell shell_duplicate; bonobo_object = bonobo_object_from_servant (servant); shell_component = EVOLUTION_SHELL_COMPONENT (bonobo_object); @@ -427,10 +426,8 @@ impl_setOwner (PortableServer_Servant servant, return; } - shell_duplicate = CORBA_Object_duplicate (shell, ev); - if (ev->_major == CORBA_NO_EXCEPTION) { - priv->owner_client = evolution_shell_client_new (shell_duplicate); + priv->owner_client = evolution_shell_client_new (shell); g_signal_emit (shell_component, signals[OWNER_SET], 0, priv->owner_client, evolution_homedir); setup_owner_pinging (shell_component); -- cgit