aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-13 04:32:18 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:14 +0800
commit61f2760572d458edb77934cbed815a7151ebbd58 (patch)
tree10610f40f7f76f17ddaf8bfdf384745f1a901174
parent4c84d4edaa6fc1bea18fc83d08f47f615faee1b2 (diff)
downloadgsoc2013-evolution-61f2760572d458edb77934cbed815a7151ebbd58.tar.gz
gsoc2013-evolution-61f2760572d458edb77934cbed815a7151ebbd58.tar.zst
gsoc2013-evolution-61f2760572d458edb77934cbed815a7151ebbd58.zip
Remove em_utils_redirect_message_by_uid().
Use em_utils_redirect_message() instead.
-rw-r--r--mail/em-composer-utils.c39
-rw-r--r--mail/em-composer-utils.h3
2 files changed, 0 insertions, 42 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index 98e24ac8a2..654144b6f8 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1766,45 +1766,6 @@ em_utils_redirect_message (EShell *shell,
composer_set_no_change (composer);
}
-static void
-redirect_msg (CamelFolder *folder,
- const gchar *uid,
- CamelMimeMessage *message,
- gpointer user_data)
-{
- EShell *shell = E_SHELL (user_data);
-
- if (message == NULL)
- return;
-
- em_utils_redirect_message (shell, message);
-
- g_object_unref (shell);
-}
-
-/**
- * em_utils_redirect_message_by_uid:
- * @shell: an #EShell
- * @folder: folder containing message to be redirected
- * @uid: uid of message to be redirected
- *
- * Opens a composer to redirect the message (Note: only headers will
- * be editable). Adds Resent-From/Resent-To/etc headers.
- **/
-void
-em_utils_redirect_message_by_uid (EShell *shell,
- CamelFolder *folder,
- const gchar *uid)
-{
- g_return_if_fail (E_IS_SHELL (shell));
- g_return_if_fail (CAMEL_IS_FOLDER (folder));
- g_return_if_fail (uid != NULL);
-
- mail_get_message (
- folder, uid, redirect_msg,
- g_object_ref (shell), mail_msg_unordered_push);
-}
-
/* Message disposition notifications, rfc 2298 */
void
em_utils_handle_receipt (EMailSession *session,
diff --git a/mail/em-composer-utils.h b/mail/em-composer-utils.h
index ab4ce9eff2..7a0d2d7511 100644
--- a/mail/em-composer-utils.h
+++ b/mail/em-composer-utils.h
@@ -57,9 +57,6 @@ void em_utils_forward_messages (EMailReader *reader,
EMailForwardStyle style);
void em_utils_redirect_message (EShell *shell,
CamelMimeMessage *message);
-void em_utils_redirect_message_by_uid (EShell *shell,
- CamelFolder *folder,
- const gchar *uid);
void em_utils_handle_receipt (EMailSession *session,
CamelFolder *folder,
const gchar *message_uid,