aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-shell-migrate.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-08 09:12:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-08 09:12:02 +0800
commit03fe4bdcbc8a2e644339bbfcd12843da1f766375 (patch)
treeb2f3a6f3ed4053aec88a1568cc1936d00dbb9f9f /mail/e-mail-shell-migrate.c
parent16e2beab9e4d412399f495f6165d27da80cb3675 (diff)
downloadgsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.gz
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.bz2
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.lz
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.xz
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.tar.zst
gsoc2013-evolution-03fe4bdcbc8a2e644339bbfcd12843da1f766375.zip
Fix most of the compiler warnings in mail.
Diffstat (limited to 'mail/e-mail-shell-migrate.c')
-rw-r--r--mail/e-mail-shell-migrate.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/mail/e-mail-shell-migrate.c b/mail/e-mail-shell-migrate.c
index 99469b1d6d..b7af75beb2 100644
--- a/mail/e-mail-shell-migrate.c
+++ b/mail/e-mail-shell-migrate.c
@@ -2853,7 +2853,8 @@ migrate_to_db (EShellBackend *shell_backend)
camel_exception_init (&ex);
e_mail_shell_backend_load_store_by_uri (
- shell_backend, service->url, name);
+ E_MAIL_SHELL_BACKEND (shell_backend),
+ service->url, name);
store = (CamelStore *) camel_session_get_service (CAMEL_SESSION (session), service->url, CAMEL_PROVIDER_STORE, &ex);
info = camel_store_get_folder_info (store, NULL, CAMEL_STORE_FOLDER_INFO_RECURSIVE|CAMEL_STORE_FOLDER_INFO_FAST|CAMEL_STORE_FOLDER_INFO_SUBSCRIBED, &ex);
@@ -2879,11 +2880,11 @@ migrate_to_db (EShellBackend *shell_backend)
}
gboolean
-e_mail_shell_backend_migrate (EShellBackend *shell_backend,
- gint major,
- gint minor,
- gint micro,
- GError **error)
+e_mail_shell_migrate (EShellBackend *shell_backend,
+ gint major,
+ gint minor,
+ gint micro,
+ GError **error)
{
struct stat st;
const gchar *data_dir;