aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component/autocompletion-config.c
diff options
context:
space:
mode:
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 060ce01aee..9e42a375f9 100644
--- a/addressbook/gui/component/autocompletion-config.c
+++ b/addressbook/gui/component/autocompletion-config.c
@@ -118,8 +118,10 @@ autocompletion_config_init (void)
initialize_selection (E_SOURCE_SELECTOR (source_selector));
+ preferences_window = e_shell_get_preferences_window ();
+
e_preferences_window_add_page (
- e_shell_get_preferences_window (),
+ E_PREFERENCES_WINDOW (preferences_window),
"autocompletion",
"preferences-autocompletion",
_("Autocompletion"),