aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-03 09:06:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-03 09:06:25 +0800
commit96f2945894ede215b920f7ea69f6e6074e4beaf0 (patch)
tree948ec55275597ea4412881d808b45496f62f20ec /mail
parentae28ea4621c9ced08524548ca67a5297c284ce01 (diff)
downloadgsoc2013-evolution-96f2945894ede215b920f7ea69f6e6074e4beaf0.tar
gsoc2013-evolution-96f2945894ede215b920f7ea69f6e6074e4beaf0.tar.gz
gsoc2013-evolution-96f2945894ede215b920f7ea69f6e6074e4beaf0.tar.bz2
gsoc2013-evolution-96f2945894ede215b920f7ea69f6e6074e4beaf0.tar.lz
gsoc2013-evolution-96f2945894ede215b920f7ea69f6e6074e4beaf0.tar.xz
gsoc2013-evolution-96f2945894ede215b920f7ea69f6e6074e4beaf0.tar.zst
gsoc2013-evolution-96f2945894ede215b920f7ea69f6e6074e4beaf0.zip
Remove e_mail_reader_set_folder_uri().
Function is no longer used, or wanted.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-reader.c30
-rw-r--r--mail/e-mail-reader.h2
2 files changed, 0 insertions, 32 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index c9a43869fb..094facd7e5 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -4120,36 +4120,6 @@ e_mail_reader_set_folder (EMailReader *reader,
interface->set_folder (reader, folder);
}
-/* Helper for e_mail_reader_set_folder_uri () */
-static void
-mail_reader_got_folder_cb (gchar *folder_uri,
- CamelFolder *folder,
- gpointer user_data)
-{
- EMailReader *reader = user_data;
-
- e_mail_reader_set_folder (reader, folder);
-}
-
-void
-e_mail_reader_set_folder_uri (EMailReader *reader,
- const gchar *folder_uri)
-{
- EMailBackend *backend;
- EMailSession *session;
-
- g_return_if_fail (E_IS_MAIL_READER (reader));
- g_return_if_fail (folder_uri != NULL);
-
- backend = e_mail_reader_get_backend (reader);
- session = e_mail_backend_get_session (backend);
-
- /* Fetch the CamelFolder asynchronously. */
- mail_get_folder (
- session, folder_uri, 0, mail_reader_got_folder_cb,
- reader, mail_msg_fast_ordered_push);
-}
-
void
e_mail_reader_set_message (EMailReader *reader,
const gchar *uid)
diff --git a/mail/e-mail-reader.h b/mail/e-mail-reader.h
index 8076b08061..d6a7597a54 100644
--- a/mail/e-mail-reader.h
+++ b/mail/e-mail-reader.h
@@ -136,8 +136,6 @@ CamelFolder * e_mail_reader_get_folder (EMailReader *reader);
const gchar * e_mail_reader_get_folder_uri (EMailReader *reader);
void e_mail_reader_set_folder (EMailReader *reader,
CamelFolder *folder);
-void e_mail_reader_set_folder_uri (EMailReader *reader,
- const gchar *folder_uri);
void e_mail_reader_set_message (EMailReader *reader,
const gchar *uid);
EMailForwardStyle