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-folder-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/e-folder-list.c') diff --git a/shell/e-folder-list.c b/shell/e-folder-list.c index 985eed4f4c..9c53877ab2 100644 --- a/shell/e-folder-list.c +++ b/shell/e-folder-list.c @@ -556,7 +556,7 @@ GtkWidget* e_folder_list_construct (EFolderList *efl, EvolutionShellClient *client, char *xml) { efl->priv->client = client; - bonobo_object_client_ref (BONOBO_OBJECT_CLIENT (efl->priv->client), NULL); + bonobo_object_ref (BONOBO_OBJECT (efl->priv->client)); efl->priv->corba_storage_registry = evolution_shell_client_get_storage_registry_interface (client); e_folder_list_set_xml (efl, xml); return GTK_WIDGET (efl); -- cgit v1.2.3