diff options
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/widgets/eab-gui-util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c index eef9988ce3..d934942fea 100644 --- a/addressbook/gui/widgets/eab-gui-util.c +++ b/addressbook/gui/widgets/eab-gui-util.c @@ -470,7 +470,8 @@ eab_select_source (const gchar *title, const gchar *message, const gchar *select GtkWidget *scrolled_window; gint response; - source_list = addressbook_component_peek_source_list (addressbook_component_peek ()); + if (!e_book_get_addressbooks (&source_list, NULL)) + return NULL; dialog = gtk_dialog_new_with_buttons (title, parent, GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, |