diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-19 02:22:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-19 02:31:16 +0800 |
commit | ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961 (patch) | |
tree | 0e7ad99f50070f6c52d7c4b6e225c3c044afe04c /mail/mail-send-recv.c | |
parent | 0e7b23b94da808d3935f76aae53ad8a96ac06dd9 (diff) | |
download | gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.gz gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.zst gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.zip |
Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch].
Also, the glib-gen.mak script forced me to add a <mail/e-mail.h>
top-level header, which really isn't a bad idea anyway.
TODO: We should do this for calendar and addressbook too.
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 88993d7b8d..3d303873cf 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -169,7 +169,7 @@ setup_send_data (void) (GDestroyNotify) NULL, (GDestroyNotify) free_folder_info); data->inbox = e_mail_local_get_folder ( - E_MAIL_FOLDER_LOCAL_INBOX); + E_MAIL_LOCAL_FOLDER_LOCAL_INBOX); g_object_ref (data->inbox); data->active = g_hash_table_new_full ( g_str_hash, g_str_equal, @@ -763,7 +763,7 @@ receive_done (const gchar *uri, gpointer data) if (info->type == SEND_SEND && info->state == SEND_ACTIVE && info->again) { CamelFolder *local_outbox; - local_outbox = e_mail_local_get_folder (E_MAIL_FOLDER_OUTBOX); + local_outbox = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_OUTBOX); info->again = 0; mail_send_queue ( @@ -1033,7 +1033,7 @@ mail_send_receive (GtkWindow *parent, accounts = e_get_account_list (); - local_outbox = e_mail_local_get_folder (E_MAIL_FOLDER_OUTBOX); + local_outbox = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_OUTBOX); data = build_dialog ( parent, session, accounts, local_outbox, account->transport->url); @@ -1306,7 +1306,7 @@ mail_receive_uri (EMailSession *session, break; case SEND_SEND: /* todo, store the folder in info? */ - local_outbox = e_mail_local_get_folder (E_MAIL_FOLDER_OUTBOX); + local_outbox = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_OUTBOX); mail_send_queue ( info->session, local_outbox, info->uri, @@ -1374,7 +1374,7 @@ mail_send (EMailSession *session) g_hash_table_insert (data->active, (gpointer) SEND_URI_KEY, info); /* todo, store the folder in info? */ - local_outbox = e_mail_local_get_folder (E_MAIL_FOLDER_OUTBOX); + local_outbox = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_OUTBOX); mail_send_queue ( session, local_outbox, info->uri, |