[evolution] Remove EMailConfigImapBackend.



commit 27ac2039018d174e3f906fa8b74f4af9c37f5d53
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jan 12 07:40:41 2013 -0500

    Remove EMailConfigImapBackend.
    
    No longer needed since the "imap" backend is gone.

 .../mail-config/e-mail-config-remote-accounts.c    |   42 --------------------
 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 aac3ede..b379e14 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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]