diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/dialogs/memo-page.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-meeting-list-view.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c index b8567a615a..b02207461b 100644 --- a/calendar/gui/dialogs/memo-page.c +++ b/calendar/gui/dialogs/memo-page.c @@ -435,12 +435,14 @@ fill_comp_with_recipients (ENameSelector *name_selector, ECalComponent *comp) if (contact && e_contact_get (contact , E_CONTACT_IS_LIST)) { EBook *book = NULL; ENameSelectorDialog *dialog; + ENameSelectorModel *model; EContactStore *c_store; GList *books, *l; gchar *uri = e_contact_get (contact, E_CONTACT_BOOK_URI); dialog = e_name_selector_peek_dialog (name_selector); - c_store = e_name_selector_dialog_peek_model (dialog)->contact_store; + model = e_name_selector_dialog_peek_model (dialog); + c_store = e_name_selector_model_peek_contact_store (model); books = e_contact_store_get_books (c_store); for (l = books; l; l = l->next) { diff --git a/calendar/gui/e-meeting-list-view.c b/calendar/gui/e-meeting-list-view.c index 0e48f7cb32..9920de85e1 100644 --- a/calendar/gui/e-meeting-list-view.c +++ b/calendar/gui/e-meeting-list-view.c @@ -771,12 +771,14 @@ process_section (EMeetingListView *view, GList *destinations, icalparameter_role if (contact && e_contact_get (contact , E_CONTACT_IS_LIST)) { EBook *book = NULL; ENameSelectorDialog *dialog; + ENameSelectorModel *model; EContactStore *c_store; GList *books, *l; gchar *uri = e_contact_get (contact, E_CONTACT_BOOK_URI); dialog = e_name_selector_peek_dialog (view->priv->name_selector); - c_store = e_name_selector_dialog_peek_model (dialog)->contact_store; + model = e_name_selector_dialog_peek_model (dialog); + c_store = e_name_selector_model_peek_contact_store (model); books = e_contact_store_get_books (c_store); for (l = books; l; l = l->next) { |