aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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,