aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-subscription-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-31 03:20:42 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-10 06:33:19 +0800
commit7b7d920a755ebf8fc54cf5bf26c287b480f019ed (patch)
treeb2f321e0cd07c9ee43ceee849128a9f85be22a18 /mail/em-subscription-editor.c
parent58727dbb22ceeaf950ba7931fd516b112689b5a6 (diff)
downloadgsoc2013-evolution-7b7d920a755ebf8fc54cf5bf26c287b480f019ed.tar.gz
gsoc2013-evolution-7b7d920a755ebf8fc54cf5bf26c287b480f019ed.tar.zst
gsoc2013-evolution-7b7d920a755ebf8fc54cf5bf26c287b480f019ed.zip
Remove an unused function.
Diffstat (limited to 'mail/em-subscription-editor.c')
-rw-r--r--mail/em-subscription-editor.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c
index c040daf48e..db278b8a63 100644
--- a/mail/em-subscription-editor.c
+++ b/mail/em-subscription-editor.c
@@ -904,28 +904,6 @@ subscription_editor_add_account (EMSubscriptionEditor *editor,
g_ptr_array_add (editor->priv->stores, data);
}
-static gboolean
-subscription_editor_test_account (EMSubscriptionEditor *editor,
- EAccount *account)
-{
- CamelSession *session;
- CamelStore *store;
- const gchar *url;
-
- /* Account must be enabled. */
- if (!account->enabled)
- return FALSE;
-
- session = em_subscription_editor_get_session (editor);
- url = e_account_get_string (account, E_ACCOUNT_SOURCE_URL);
-
- store = (CamelStore *) camel_session_get_service (
- session, url, CAMEL_PROVIDER_STORE, NULL);
-
- /* Corresponding CamelStore must support subscriptions. */
- return (store != NULL) && camel_store_supports_subscriptions (store);
-}
-
static void
subscription_editor_set_account (EMSubscriptionEditor *editor,
EAccount *account)