aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/autocompletion-config.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 14:22:32 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2009-02-19 14:22:32 +0800
commit1a40acf554290883d6cf2a491dc36685842fd26b (patch)
treea920466e9b41ee104dd13d1335820770a17904a2 /addressbook/gui/component/autocompletion-config.c
parent0110c94c6abdbb25b4fea6a21f20f00b82a0fdd8 (diff)
downloadgsoc2013-evolution-1a40acf554290883d6cf2a491dc36685842fd26b.tar.gz
gsoc2013-evolution-1a40acf554290883d6cf2a491dc36685842fd26b.tar.zst
gsoc2013-evolution-1a40acf554290883d6cf2a491dc36685842fd26b.zip
Documentation tweaks.
Have e_shell_get_preferences_window() take an EShell argument. svn path=/branches/kill-bonobo/; revision=37294
Diffstat (limited to 'addressbook/gui/component/autocompletion-config.c')
-rw-r--r--addressbook/gui/component/autocompletion-config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/component/autocompletion-config.c b/addressbook/gui/component/autocompletion-config.c
index 018a2fd8f7..a58e1f3195 100644
--- a/addressbook/gui/component/autocompletion-config.c
+++ b/addressbook/gui/component/autocompletion-config.c
@@ -99,6 +99,7 @@ autocompletion_config_init (void)
GtkWidget *scrolled_window;
GtkWidget *source_selector;
GtkWidget *preferences_window;
+ EShell *shell;
source_list = e_source_list_new_for_gconf_default (
"/apps/evolution/addressbook/sources");
@@ -124,7 +125,8 @@ autocompletion_config_init (void)
initialize_selection (E_SOURCE_SELECTOR (source_selector));
- preferences_window = e_shell_get_preferences_window ();
+ shell = e_shell_get_default ();
+ preferences_window = e_shell_get_preferences_window (shell);
e_preferences_window_add_page (
E_PREFERENCES_WINDOW (preferences_window),