aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor/e-contact-list-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c4
1 files changed, 2 insertions, 2 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 bff82c2f2b..86e283f0f6 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -804,11 +804,11 @@ fill_in_info(EContactListEditor *editor)
while (e_iterator_is_valid (email_iter)) {
const char *email = e_iterator_get (email_iter);
- if (!strncmp (email, "X-EVOLUTION-UID=", strlen ("X-EVOLUTION-UID"))) {
+ if (!strncmp (email, ECARD_UID_LINK_PREFIX, strlen (ECARD_UID_LINK_PREFIX))) {
ECard *card;
const char *uid;
/* it's a serialized uid */
- uid = email + strlen ("X-EVOLUTION-UID=");
+ uid = email + strlen (ECARD_UID_LINK_PREFIX);
card = e_book_get_card (editor->book, uid);
if (card) {
ECardSimple *simple = e_card_simple_new (card);