From 81864caca687b4a9ec08c61699a3608691f364ab Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 30 May 2002 18:36:20 +0000 Subject: Use bonobo_object_ref() instead of bonobo_object_client_ref() as the * e-folder-list.c (e_folder_list_construct): Use bonobo_object_ref() instead of bonobo_object_client_ref() as the former only refs the CORBA object [Sigh]. * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Don't unref the shell_client here, as we need it. :-) svn path=/trunk/; revision=17046 --- shell/e-shell-config-autocompletion.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'shell/e-shell-config-autocompletion.c') diff --git a/shell/e-shell-config-autocompletion.c b/shell/e-shell-config-autocompletion.c index 819ab0ed7d..71e48fbdd7 100644 --- a/shell/e-shell-config-autocompletion.c +++ b/shell/e-shell-config-autocompletion.c @@ -99,9 +99,7 @@ e_shell_config_autocompletion_create_widget (EShell *shell, EvolutionConfigContr xml = bonobo_config_get_string (ac->db, "/Addressbook/Completion/uris", &ev); - ac->control_widget = e_folder_list_new (ac->shell_client, - xml); - bonobo_object_client_unref (BONOBO_OBJECT_CLIENT (ac->shell_client), NULL); + ac->control_widget = e_folder_list_new (ac->shell_client, xml); g_free (xml); gtk_object_set (GTK_OBJECT (ac->control_widget), -- cgit v1.2.3