diff options
Diffstat (limited to 'addressbook/gui/component/autocompletion-config.c')
-rw-r--r-- | addressbook/gui/component/autocompletion-config.c | 4 |
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), |