* crypto: update other mu-msg-part users for api changes
This commit is contained in:
@ -356,9 +356,9 @@ SCM_DEFINE (get_parts, "mu:c:get-parts", 1, 1, 0,
|
||||
attinfo.attachments_only = ATTS_ONLY == SCM_BOOL_T ? TRUE : FALSE;
|
||||
|
||||
msgwrap = (MuMsgWrapper*) SCM_CDR(MSG);
|
||||
mu_msg_part_foreach (msgwrap->_msg, FALSE,
|
||||
mu_msg_part_foreach (msgwrap->_msg,
|
||||
(MuMsgPartForeachFunc)each_part,
|
||||
&attinfo);
|
||||
&attinfo, MU_MSG_PART_OPTION_NONE);
|
||||
|
||||
/* explicitly close the file backend, so we won't run of fds */
|
||||
mu_msg_unload_msg_file (msgwrap->_msg);
|
||||
|
||||
@ -287,8 +287,8 @@ append_sexp_parts (GString *gstr, MuMsg *msg, gboolean want_images)
|
||||
pinfo.parts = NULL;
|
||||
pinfo.want_images = want_images;
|
||||
|
||||
mu_msg_part_foreach (msg, FALSE,
|
||||
(MuMsgPartForeachFunc)each_part, &pinfo);
|
||||
mu_msg_part_foreach (msg, (MuMsgPartForeachFunc)each_part,
|
||||
&pinfo, MU_MSG_PART_OPTION_CHECK_SIGNATURES);
|
||||
|
||||
if (pinfo.parts) {
|
||||
g_string_append_printf (gstr, "\t:parts (%s)\n", pinfo.parts);
|
||||
|
||||
@ -471,8 +471,9 @@ add_terms_values_attach (Xapian::Document& doc, MuMsg *msg,
|
||||
MuMsgFieldId mfid, GStringChunk *strchunk)
|
||||
{
|
||||
PartData pdata (doc, mfid, strchunk);
|
||||
mu_msg_part_foreach (msg, TRUE,
|
||||
(MuMsgPartForeachFunc)each_part, &pdata);
|
||||
mu_msg_part_foreach (msg,
|
||||
(MuMsgPartForeachFunc)each_part, &pdata,
|
||||
MU_MSG_PART_OPTION_RECURSE_RFC822);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
|
||||
/*
|
||||
** Copyright (C) 2011 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
|
||||
**
|
||||
@ -286,7 +287,8 @@ mu_msg_attach_view_set_message (MuMsgAttachView *self, MuMsg *msg)
|
||||
|
||||
cbdata.store = store;
|
||||
cbdata.count = 0;
|
||||
mu_msg_part_foreach (msg, FALSE, (MuMsgPartForeachFunc)each_part, &cbdata);
|
||||
mu_msg_part_foreach (msg, (MuMsgPartForeachFunc)each_part, &cbdata,
|
||||
MU_MSG_PART_OPTION_NONE);
|
||||
|
||||
return cbdata.count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user