[evolution] Remove em_utils_redirect_message_by_uid().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove em_utils_redirect_message_by_uid().
- Date: Thu, 12 May 2011 22:39:01 +0000 (UTC)
commit 58a6db9875d58d1bc7458cd049304e82e113205a
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu May 12 16:32:18 2011 -0400
Remove em_utils_redirect_message_by_uid().
Use em_utils_redirect_message() instead.
mail/em-composer-utils.c | 39 ---------------------------------------
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 98e24ac..654144b 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 ab4ce9e..7a0d2d7 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]