aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-config-autocompletion.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-31 02:36:20 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-31 02:36:20 +0800
commit81864caca687b4a9ec08c61699a3608691f364ab (patch)
tree8d4dec20d97be6d50f659641f9c0c8d7095ce3a8 /shell/e-shell-config-autocompletion.c
parent02eab77be48407a37c4200489c2531d093b25c4a (diff)
downloadgsoc2013-evolution-81864caca687b4a9ec08c61699a3608691f364ab.tar.gz
gsoc2013-evolution-81864caca687b4a9ec08c61699a3608691f364ab.tar.zst
gsoc2013-evolution-81864caca687b4a9ec08c61699a3608691f364ab.zip
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
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 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),