projects
/
modest
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
API for reply calendar doesn't need now the msg, as the method internally
[modest]
/
src
/
modest-ui-actions.c
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
db9be88
..
8112d12
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-2030,7
+2030,7
@@
reply_forward (ReplyForwardAction action, ModestWindow *win)
}
void
}
void
-modest_ui_actions_reply_calendar (ModestWindow *win, TnyMsg *msg, TnyList *header_pairs)
+modest_ui_actions_reply_calendar (ModestWindow *win, TnyList *header_pairs)
{
gchar *from;
gchar *recipient;
{
gchar *from;
gchar *recipient;
@@
-2043,6
+2043,7
@@
modest_ui_actions_reply_calendar (ModestWindow *win, TnyMsg *msg, TnyList *heade
const gchar *mailbox;
TnyHeader *msg_header;
ModestWindowMgr *mgr;
const gchar *mailbox;
TnyHeader *msg_header;
ModestWindowMgr *mgr;
+ TnyMsg *msg;
g_return_if_fail (MODEST_IS_MSG_VIEW_WINDOW(win));
g_return_if_fail (MODEST_IS_MSG_VIEW_WINDOW(win));
@@
-2061,6
+2062,9
@@
modest_ui_actions_reply_calendar (ModestWindow *win, TnyMsg *msg, TnyList *heade
&use_signature);
g_free (recipient);
&use_signature);
g_free (recipient);
+ msg = modest_msg_view_window_get_message(MODEST_MSG_VIEW_WINDOW(win));
+ g_return_if_fail(msg);
+
msg_header = tny_msg_get_header (msg);
new_msg =
modest_tny_msg_create_reply_calendar_msg (msg, msg_header, from,
msg_header = tny_msg_get_header (msg);
new_msg =
modest_tny_msg_create_reply_calendar_msg (msg, msg_header, from,