aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-config-autocompletion.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2003-01-11 05:39:33 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2003-01-11 05:39:33 +0800
commit472a6e0fa01103936680f652a4551cbf455efdef (patch)
tree38580c23c5035f199ded562d000cb60013439c4b /shell/e-shell-config-autocompletion.c
parent8c37e1b2ee3dec0445e299cc0f29c2c2bb76ae7d (diff)
downloadgsoc2013-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/e-shell-config-autocompletion.c')
-rw-r--r--shell/e-shell-config-autocompletion.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/e-shell-config-autocompletion.c b/shell/e-shell-config-autocompletion.c
index 3ab2650ab2..df232e8067 100644
--- a/shell/e-shell-config-autocompletion.c
+++ b/shell/e-shell-config-autocompletion.c
@@ -87,7 +87,6 @@ config_control_apply_callback (EvolutionConfigControl *config_control,
GtkWidget *
e_shell_config_autocompletion_create_widget (EShell *shell, EvolutionConfigControl *config_control)
{
- GNOME_Evolution_Shell shell_dup;
EvolutionAutocompletionConfig *ac;
CORBA_Environment ev;
GConfClient *client;
@@ -98,8 +97,7 @@ e_shell_config_autocompletion_create_widget (EShell *shell, EvolutionConfigContr
CORBA_exception_init (&ev);
- shell_dup = CORBA_Object_duplicate (BONOBO_OBJREF (shell), &ev);
- ac->shell_client = evolution_shell_client_new (shell_dup);
+ ac->shell_client = evolution_shell_client_new (BONOBO_OBJREF (shell));
client = gconf_client_get_default ();
xml = gconf_client_get_string (client, "/apps/evolution/addressbook/completion/uris", NULL);