aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/memo-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/dialogs/memo-page.c')
-rw-r--r--calendar/gui/dialogs/memo-page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 83cd00a911..8026a467ee 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -437,7 +437,7 @@ fill_comp_with_recipients (ENameSelector *name_selector, ECalComponent *comp)
gchar *uri = e_contact_get (contact, E_CONTACT_BOOK_URI);
dialog = e_name_selector_peek_dialog (name_selector);
- c_store = dialog->name_selector_model->contact_store;
+ c_store = e_name_selector_dialog_peek_model (dialog)->contact_store;
books = e_contact_store_get_books (c_store);
for (l = books; l; l = l->next) {