* mu-msg-part: cosmetics

This commit is contained in:
Dirk-Jan C. Binnema 2011-01-09 18:55:18 +02:00
parent e0b484e922
commit 56cfe14062
2 changed files with 5 additions and 3 deletions

View File

@ -73,7 +73,7 @@ mu_msg_msg_part_foreach (MuMsg *msg,
g_return_if_fail (GMIME_IS_OBJECT(msg->_mime_msg));
pdata._idx = 0;
pdata._func = func;
pdata._func = func;
pdata._user_data = user_data;
g_mime_message_foreach (msg->_mime_msg,
@ -82,6 +82,7 @@ mu_msg_msg_part_foreach (MuMsg *msg,
}
struct _SavePartData {
guint idx, wanted_idx;
const gchar* targetdir;

View File

@ -72,10 +72,11 @@ typedef struct _MuMsgPart MuMsgPart;
* @return the file name
*/
#define mu_msg_part_content_type(pi) ((pi)->content_type)
typedef void (*MuMsgPartForeachFunc) (MuMsgPart *part, gpointer data);
/**
* call a function for each of the contacts in a message
*