From ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 18 Oct 2010 14:22:58 -0400 Subject: 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 top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too. --- mail/mail-ops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail/mail-ops.c') diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 97a72aade0..2cdce4c598 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -230,7 +230,7 @@ fetch_mail_exec (struct _fetch_mail_msg *m) struct _filter_mail_msg *fm = (struct _filter_mail_msg *)m; gint i; - fm->destination = e_mail_local_get_folder (E_MAIL_FOLDER_LOCAL_INBOX); + fm->destination = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_LOCAL_INBOX); if (fm->destination == NULL) goto fail; g_object_ref (fm->destination); @@ -625,7 +625,7 @@ mail_send_message (struct _send_queue_msg *m, } if (!folder) { - folder = e_mail_local_get_folder (E_MAIL_FOLDER_SENT); + folder = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_SENT); g_object_ref (folder); } @@ -638,7 +638,7 @@ mail_send_message (struct _send_queue_msg *m, if (g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) goto exit; - sent_folder = e_mail_local_get_folder (E_MAIL_FOLDER_SENT); + sent_folder = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_SENT); if (folder != sent_folder) { const gchar *description; @@ -741,7 +741,7 @@ send_queue_exec (struct _send_queue_msg *m) d(printf("sending queue\n")); - sent_folder = e_mail_local_get_folder (E_MAIL_FOLDER_SENT); + sent_folder = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_SENT); if (!(uids = camel_folder_get_uids (m->queue))) return; -- cgit v1.2.3