[evolution/wip/gsettings] Remove an unused function.
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/gsettings] Remove an unused function.
- Date: Tue, 9 Nov 2010 22:34:15 +0000 (UTC)
commit 7b7d920a755ebf8fc54cf5bf26c287b480f019ed
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Oct 30 15:20:42 2010 -0400
Remove an unused function.
mail/em-subscription-editor.c | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c
index c040daf..db278b8 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]