diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-13 04:32:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-13 06:24:42 +0800 |
commit | 58a6db9875d58d1bc7458cd049304e82e113205a (patch) | |
tree | e86a1ef9b4a71d5f692e86ac4b4abb24480c34e0 /mail | |
parent | 9cbfb1963b7747deec5333b7e376e9a42c5da299 (diff) | |
download | gsoc2013-evolution-58a6db9875d58d1bc7458cd049304e82e113205a.tar gsoc2013-evolution-58a6db9875d58d1bc7458cd049304e82e113205a.tar.gz gsoc2013-evolution-58a6db9875d58d1bc7458cd049304e82e113205a.tar.bz2 gsoc2013-evolution-58a6db9875d58d1bc7458cd049304e82e113205a.tar.lz gsoc2013-evolution-58a6db9875d58d1bc7458cd049304e82e113205a.tar.xz gsoc2013-evolution-58a6db9875d58d1bc7458cd049304e82e113205a.tar.zst gsoc2013-evolution-58a6db9875d58d1bc7458cd049304e82e113205a.zip |
Remove em_utils_redirect_message_by_uid().
Use em_utils_redirect_message() instead.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/em-composer-utils.c | 39 | ||||
-rw-r--r-- | mail/em-composer-utils.h | 3 |
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, |