diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-11 05:39:33 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-11 05:39:33 +0800 |
commit | 472a6e0fa01103936680f652a4551cbf455efdef (patch) | |
tree | 38580c23c5035f199ded562d000cb60013439c4b /shell/evolution-shell-component.c | |
parent | 8c37e1b2ee3dec0445e299cc0f29c2c2bb76ae7d (diff) | |
download | gsoc2013-evolution-472a6e0fa01103936680f652a4551cbf455efdef.tar.gz gsoc2013-evolution-472a6e0fa01103936680f652a4551cbf455efdef.tar.zst gsoc2013-evolution-472a6e0fa01103936680f652a4551cbf455efdef.zip |
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
Diffstat (limited to 'shell/evolution-shell-component.c')
-rw-r--r-- | shell/evolution-shell-component.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); |