aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-01-12 20:40:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-01-12 20:40:41 +0800
commit27ac2039018d174e3f906fa8b74f4af9c37f5d53 (patch)
treeac6a7252f2c1c0ffde92a797ed093b457c237ed1 /modules
parentde978d42317423ceb3041d773913473d564a0ec4 (diff)
downloadgsoc2013-evolution-27ac2039018d174e3f906fa8b74f4af9c37f5d53.tar
gsoc2013-evolution-27ac2039018d174e3f906fa8b74f4af9c37f5d53.tar.gz
gsoc2013-evolution-27ac2039018d174e3f906fa8b74f4af9c37f5d53.tar.bz2
gsoc2013-evolution-27ac2039018d174e3f906fa8b74f4af9c37f5d53.tar.lz
gsoc2013-evolution-27ac2039018d174e3f906fa8b74f4af9c37f5d53.tar.xz
gsoc2013-evolution-27ac2039018d174e3f906fa8b74f4af9c37f5d53.tar.zst
gsoc2013-evolution-27ac2039018d174e3f906fa8b74f4af9c37f5d53.zip
Remove EMailConfigImapBackend.
No longer needed since the "imap" backend is gone.
Diffstat (limited to 'modules')
-rw-r--r--modules/mail-config/e-mail-config-remote-accounts.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/modules/mail-config/e-mail-config-remote-accounts.c b/modules/mail-config/e-mail-config-remote-accounts.c
index aac3edeb03..b379e14895 100644
--- a/modules/mail-config/e-mail-config-remote-accounts.c
+++ b/modules/mail-config/e-mail-config-remote-accounts.c
@@ -53,9 +53,6 @@ typedef EMailConfigRemoteBackendClass EMailConfigPopBackendClass;
typedef EMailConfigRemoteBackend EMailConfigNntpBackend;
typedef EMailConfigRemoteBackendClass EMailConfigNntpBackendClass;
-typedef EMailConfigRemoteBackend EMailConfigImapBackend;
-typedef EMailConfigRemoteBackendClass EMailConfigImapBackendClass;
-
typedef EMailConfigRemoteBackend EMailConfigImapxBackend;
typedef EMailConfigRemoteBackendClass EMailConfigImapxBackendClass;
@@ -82,8 +79,6 @@ GType e_mail_config_pop_backend_get_type
(void) G_GNUC_CONST;
GType e_mail_config_nntp_backend_get_type
(void) G_GNUC_CONST;
-GType e_mail_config_imap_backend_get_type
- (void) G_GNUC_CONST;
GType e_mail_config_imapx_backend_get_type
(void) G_GNUC_CONST;
@@ -105,11 +100,6 @@ G_DEFINE_DYNAMIC_TYPE (
E_TYPE_MAIL_CONFIG_REMOTE_BACKEND)
G_DEFINE_DYNAMIC_TYPE (
- EMailConfigImapBackend,
- e_mail_config_imap_backend,
- E_TYPE_MAIL_CONFIG_REMOTE_BACKEND)
-
-G_DEFINE_DYNAMIC_TYPE (
EMailConfigImapxBackend,
e_mail_config_imapx_backend,
E_TYPE_MAIL_CONFIG_REMOTE_BACKEND)
@@ -428,37 +418,6 @@ e_mail_config_nntp_backend_init (EMailConfigRemoteBackend *backend)
}
static gboolean
-mail_config_imap_backend_auto_configure (EMailConfigServiceBackend *backend,
- EMailAutoconfig *autoconfig)
-{
- ESource *source;
-
- source = e_mail_config_service_backend_get_source (backend);
-
- return e_mail_autoconfig_set_imap_details (autoconfig, source);
-}
-
-static void
-e_mail_config_imap_backend_class_init (EMailConfigRemoteBackendClass *class)
-{
- EMailConfigServiceBackendClass *backend_class;
-
- backend_class = E_MAIL_CONFIG_SERVICE_BACKEND_CLASS (class);
- backend_class->backend_name = "imap";
- backend_class->auto_configure = mail_config_imap_backend_auto_configure;
-}
-
-static void
-e_mail_config_imap_backend_class_finalize (EMailConfigRemoteBackendClass *class)
-{
-}
-
-static void
-e_mail_config_imap_backend_init (EMailConfigRemoteBackend *backend)
-{
-}
-
-static gboolean
mail_config_imapx_backend_auto_configure (EMailConfigServiceBackend *backend,
EMailAutoconfig *autoconfig)
{
@@ -498,7 +457,6 @@ e_mail_config_remote_accounts_register_types (GTypeModule *type_module)
/* Concrete sub-types */
e_mail_config_pop_backend_register_type (type_module);
e_mail_config_nntp_backend_register_type (type_module);
- e_mail_config_imap_backend_register_type (type_module);
e_mail_config_imapx_backend_register_type (type_module);
}