From a232b28ce62cd4a3735cc0cc3197f3ac3aa0179c Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Wed, 26 Sep 2001 23:16:00 +0000 Subject: Use camel_address_format, not camel_address_encode. 2001-09-26 Jon Trowbridge * backend/ebook/e-destination.c (e_destination_get_textrep): Use camel_address_format, not camel_address_encode. svn path=/trunk/; revision=13173 --- addressbook/ChangeLog | 5 +++++ addressbook/backend/ebook/e-destination.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 9afb5b126c..b7695085c9 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2001-09-26 Jon Trowbridge + + * backend/ebook/e-destination.c (e_destination_get_textrep): Use + camel_address_format, not camel_address_encode. + 2001-09-26 Anna Marie Dirks * gui/contact-editor/contact-editor.glade: Added help text (thanks diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c index 970057f1fe..ecbda7b497 100644 --- a/addressbook/backend/ebook/e-destination.c +++ b/addressbook/backend/ebook/e-destination.c @@ -821,7 +821,7 @@ e_destination_get_textrep (const EDestination *dest) CamelInternetAddress *addr = camel_internet_address_new (); camel_internet_address_add (addr, name, email); g_free (dest->priv->textrep); - dest->priv->textrep = camel_address_encode (CAMEL_ADDRESS (addr)); + dest->priv->textrep = camel_address_format (CAMEL_ADDRESS (addr)); camel_object_unref (CAMEL_OBJECT (addr)); } -- cgit