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/importers | |
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/importers')
-rw-r--r-- | mail/importers/evolution-mbox-importer.c | 2 | ||||
-rw-r--r-- | mail/importers/mail-importer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c index aba980188e..1354b9ba0b 100644 --- a/mail/importers/evolution-mbox-importer.c +++ b/mail/importers/evolution-mbox-importer.c @@ -120,7 +120,7 @@ mbox_getwidget (EImport *ei, EImportTarget *target, EImportImporter *im) } if (!select_uri) - select_uri = g_strdup (e_mail_local_get_folder_uri (E_MAIL_FOLDER_INBOX)); + select_uri = g_strdup (e_mail_local_get_folder_uri (E_MAIL_LOCAL_FOLDER_INBOX)); hbox = gtk_hbox_new (FALSE, 0); diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c index ff987f40c1..b4fb3c0431 100644 --- a/mail/importers/mail-importer.c +++ b/mail/importers/mail-importer.c @@ -121,7 +121,7 @@ import_mbox_exec (struct _import_mbox_msg *m) } if (m->uri == NULL || m->uri[0] == 0) - folder = e_mail_local_get_folder (E_MAIL_FOLDER_INBOX); + folder = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_INBOX); else folder = e_mail_session_uri_to_folder_sync ( m->session, m->uri, CAMEL_STORE_FOLDER_CREATE, |