aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-04-20 01:35:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-20 01:36:13 +0800
commit1ff91f837a1508d7c3f327a3fc796534411270c2 (patch)
treec50463501e993d0ee5c903784a19a17492e361e4 /addressbook/gui
parent3bdad9ecb7ebf5020fe443fec1f1440e0afeb930 (diff)
downloadgsoc2013-evolution-1ff91f837a1508d7c3f327a3fc796534411270c2.tar
gsoc2013-evolution-1ff91f837a1508d7c3f327a3fc796534411270c2.tar.gz
gsoc2013-evolution-1ff91f837a1508d7c3f327a3fc796534411270c2.tar.bz2
gsoc2013-evolution-1ff91f837a1508d7c3f327a3fc796534411270c2.tar.lz
gsoc2013-evolution-1ff91f837a1508d7c3f327a3fc796534411270c2.tar.xz
gsoc2013-evolution-1ff91f837a1508d7c3f327a3fc796534411270c2.tar.zst
gsoc2013-evolution-1ff91f837a1508d7c3f327a3fc796534411270c2.zip
Adapt to libedataserverui API changes.
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 831b51eb27..dc2edd281b 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -210,6 +210,7 @@ contact_list_editor_book_loaded (EBook *new_book,
EContactListEditor *editor)
{
EContactListEditorPrivate *priv = editor->priv;
+ EContactStore *contact_store;
ENameSelectorEntry *entry;
priv->load_source_id = 0;
@@ -227,7 +228,8 @@ contact_list_editor_book_loaded (EBook *new_book,
}
entry = E_NAME_SELECTOR_ENTRY (WIDGET (EMAIL_ENTRY));
- e_contact_store_add_book (entry->contact_store, new_book);
+ contact_store = e_name_selector_entry_peek_contact_store (entry);
+ e_contact_store_add_book (contact_store, new_book);
e_contact_list_editor_set_book (editor, new_book);
g_object_unref (new_book);
}