aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-config-default-folders.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-default-folders.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-default-folders.c')
-rw-r--r--shell/e-shell-config-default-folders.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/e-shell-config-default-folders.c b/shell/e-shell-config-default-folders.c
index 9ee4cd7be8..6dc06e4915 100644
--- a/shell/e-shell-config-default-folders.c
+++ b/shell/e-shell-config-default-folders.c
@@ -162,17 +162,13 @@ setup_folder_selector (EvolutionDefaultFolderConfig *dfc,
GtkWidget*
e_shell_config_default_folders_create_widget (EShell *shell, EvolutionConfigControl *config_control)
{
- GNOME_Evolution_Shell shell_dup;
CORBA_Environment ev;
EvolutionDefaultFolderConfig *dfc;
GtkWidget *widget;
dfc = g_new0 (EvolutionDefaultFolderConfig, 1);
- CORBA_exception_init (&ev);
- shell_dup = CORBA_Object_duplicate (BONOBO_OBJREF (shell), &ev);
- CORBA_exception_free (&ev);
- dfc->shell_client = evolution_shell_client_new (shell_dup);
+ dfc->shell_client = evolution_shell_client_new (BONOBO_OBJREF (shell));
dfc->glade = glade_xml_new (EVOLUTION_GLADEDIR "/e-shell-config-default-folders.glade", NULL, NULL);