diff options
author | Chris Toshok <toshok@ximian.com> | 2004-04-10 01:31:24 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-04-10 01:31:24 +0800 |
commit | cb3a5cdddc4c5c5b1501367a9ec09ade8f8e5467 (patch) | |
tree | bb72f30ebdabe0feab99f598c3a9b09ab1578683 /composer/evolution-composer.c | |
parent | 16b7fae670745f3dc7b8858e50dc08f7778f5b09 (diff) | |
download | gsoc2013-evolution-cb3a5cdddc4c5c5b1501367a9ec09ade8f8e5467.tar.gz gsoc2013-evolution-cb3a5cdddc4c5c5b1501367a9ec09ade8f8e5467.tar.zst gsoc2013-evolution-cb3a5cdddc4c5c5b1501367a9ec09ade8f8e5467.zip |
EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal):
2004-04-09 Chris Toshok <toshok@ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv):
EABDestination -> EDestination.
(e_msg_composer_hdrs_to_message_internal): same.
(e_msg_composer_hdrs_set_to): same.
(e_msg_composer_hdrs_set_cc): same.
(e_msg_composer_hdrs_set_bcc): same.
(e_msg_composer_hdrs_get_to): same.
(e_msg_composer_hdrs_get_cc): same.
(e_msg_composer_hdrs_get_bcc): same.
(e_msg_composer_hdrs_get_recipients): same.
* e-msg-composer-hdrs.h: convert prototypes such that
EABDestination -> EDestination.
* e-msg-composer.h: convert prototypes such that EABDestination ->
EDestination.
* e-msg-composer.c (destination_list_to_vector_sized): new
function, ripped from EABDestination, as this code is the only
consumer.
(destination_list_to_vector): same.
(update_auto_recipients): EABDestination -> EDestination.
(e_msg_composer_new_with_message): same.
(add_recipients): same.
(handle_mailto): same.
(e_msg_composer_set_headers): same.
(e_msg_composer_get_recipients): same.
(e_msg_composer_get_to): same.
(e_msg_composer_get_cc): same.
(e_msg_composer_get_bcc): same.
* evolution-composer.c (corba_recipientlist_to_destv):
EABDestination -> EDestination.
(impl_Composer_set_headers): same.
svn path=/trunk/; revision=25393
Diffstat (limited to 'composer/evolution-composer.c')
-rw-r--r-- | composer/evolution-composer.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/composer/evolution-composer.c b/composer/evolution-composer.c index 6e3c8b61a4..07ce35a706 100644 --- a/composer/evolution-composer.c +++ b/composer/evolution-composer.c @@ -49,26 +49,26 @@ struct _EvolutionComposerPrivate { }; /* CORBA interface implementation. */ -static EABDestination ** +static EDestination ** corba_recipientlist_to_destv (const GNOME_Evolution_Composer_RecipientList *cl) { GNOME_Evolution_Composer_Recipient *recip; - EABDestination **destv; + EDestination **destv; int i; if (cl->_length == 0) return NULL; - destv = g_new (EABDestination *, cl->_length+1); + destv = g_new (EDestination *, cl->_length+1); for (i = 0; i < cl->_length; ++i) { recip = &(cl->_buffer[i]); - destv[i] = eab_destination_new (); + destv[i] = e_destination_new (); if (*recip->name) - eab_destination_set_name (destv[i], recip->name); - eab_destination_set_email (destv[i], recip->address); + e_destination_set_name (destv[i], recip->name); + e_destination_set_email (destv[i], recip->address); } destv[cl->_length] = NULL; @@ -87,7 +87,7 @@ impl_Composer_set_headers (PortableServer_Servant servant, { BonoboObject *bonobo_object; EvolutionComposer *composer; - EABDestination **tov, **ccv, **bccv; + EDestination **tov, **ccv, **bccv; EAccountList *accounts; EAccount *account; EIterator *iter; @@ -124,9 +124,9 @@ impl_Composer_set_headers (PortableServer_Servant servant, e_msg_composer_set_headers (composer->composer, account->name, tov, ccv, bccv, subject); - eab_destination_freev (tov); - eab_destination_freev (ccv); - eab_destination_freev (bccv); + e_destination_freev (tov); + e_destination_freev (ccv); + e_destination_freev (bccv); } static void |