* mu-msg-part.[ch]: cosmetics, minor

This commit is contained in:
Dirk-Jan C. Binnema 2011-08-06 10:43:57 +03:00
parent d90208b0c5
commit 19e247785e
2 changed files with 2 additions and 10 deletions

View File

@ -102,6 +102,7 @@ mu_msg_part_foreach (MuMsg *msg, MuMsgPartForeachFunc func,
PartData pdata;
g_return_if_fail (msg);
g_return_if_fail (msg->_file);
g_return_if_fail (GMIME_IS_OBJECT(msg->_file->_mime_msg));
pdata._msg = msg;

View File

@ -66,15 +66,6 @@ typedef struct _MuMsgPart MuMsgPart;
*/
#define mu_msg_part_file_name(pi) ((pi)->file_name)
/**
* macro to get the file name for this mime-part
*
* @param pi a MuMsgPart instance
*
* @return the file name
*/
#define mu_msg_part_content_type(pi) ((pi)->content_type)
/**
* macro to get the content-id (cid) for this mime-part
@ -159,7 +150,7 @@ int mu_msg_part_find_cid (MuMsg *msg, const char* content_id);
* @param a regular expression to match the filename with
*
* @return a list with indices for the files matching the pattern; the
* indices are the GPOINTER_TO_UINT(lst->data) of the list. The must
* indices are the GPOINTER_TO_UINT(lst->data) of the list. They must
* be freed with g_slist_free
*/
GSList* mu_msg_part_find_files (MuMsg *msg, const GRegex *pattern);