* cosmetic / minor
This commit is contained in:
@ -245,6 +245,7 @@ typedef void (*MuMsgPartForeachFunc) (MuMsg *msg, MuMsgPart*, gpointer);
|
||||
* @param user_data a user-provide pointer that will be passed to the callback
|
||||
* @param options, bit-wise OR'ed
|
||||
*
|
||||
* @return FALSE in case of error, TRUE otherwise
|
||||
*/
|
||||
gboolean mu_msg_part_foreach (MuMsg *msg, MuMsgOptions opts,
|
||||
MuMsgPartForeachFunc func, gpointer user_data);
|
||||
|
||||
@ -345,8 +345,7 @@ append_sexp_parts (GString *gstr, MuMsg *msg, MuMsgOptions opts)
|
||||
|
||||
if (!mu_msg_part_foreach (msg, opts, (MuMsgPartForeachFunc)each_part,
|
||||
&pinfo)) {
|
||||
/* if decryption failed, mark this message as encrypted */
|
||||
g_string_append (gstr, "\t:encrypted t\n");
|
||||
/* do nothing */
|
||||
} else if (pinfo.parts) {
|
||||
g_string_append_printf (gstr, "\t:parts (%s)\n", pinfo.parts);
|
||||
g_free (pinfo.parts);
|
||||
|
||||
@ -30,6 +30,10 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* @addtogroup MuStr
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* create a 'display contact' from an email header To/Cc/Bcc/From-type address
|
||||
@ -329,6 +333,8 @@ const gchar* mu_str_subject_normalize (const gchar* str);
|
||||
*/
|
||||
gchar* mu_str_quoted_from_strv (const gchar **params);
|
||||
|
||||
/** @} */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /*__MU_STR_H__*/
|
||||
|
||||
Reference in New Issue
Block a user