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/em-utils.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/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 9e96abbec4..e9cdead6cf 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -985,7 +985,7 @@ em_utils_folder_is_templates (CamelFolder *folder, const gchar *uri) gchar *templates_uri; local_templates_folder = - e_mail_local_get_folder (E_MAIL_FOLDER_TEMPLATES); + e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_TEMPLATES); if (folder == local_templates_folder) return TRUE; @@ -1039,7 +1039,7 @@ em_utils_folder_is_drafts (CamelFolder *folder, const gchar *uri) gchar *drafts_uri; local_drafts_folder = - e_mail_local_get_folder (E_MAIL_FOLDER_DRAFTS); + e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_DRAFTS); if (folder == local_drafts_folder) return TRUE; @@ -1092,7 +1092,7 @@ em_utils_folder_is_sent (CamelFolder *folder, const gchar *uri) gint is = FALSE; gchar *sent_uri; - local_sent_folder = e_mail_local_get_folder (E_MAIL_FOLDER_SENT); + local_sent_folder = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_SENT); if (folder == local_sent_folder) return TRUE; @@ -1141,9 +1141,9 @@ em_utils_folder_is_outbox (CamelFolder *folder, const gchar *uri) const gchar *local_outbox_folder_uri; local_outbox_folder = - e_mail_local_get_folder (E_MAIL_FOLDER_OUTBOX); + e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_OUTBOX); local_outbox_folder_uri = - e_mail_local_get_folder_uri (E_MAIL_FOLDER_OUTBOX); + e_mail_local_get_folder_uri (E_MAIL_LOCAL_FOLDER_OUTBOX); if (folder == local_outbox_folder) return TRUE; |