* cosmetics

This commit is contained in:
djcb
2012-09-13 21:12:12 +03:00
parent 70c76459a9
commit ac1d1b2ed8
3 changed files with 22 additions and 27 deletions

View File

@ -84,7 +84,7 @@ check_match (MuMsg *msg, MuMsgPart *part, MatchData *mdata)
mdata->index = part->index;
}
int
static int
get_matching_part_index (MuMsg *msg, MuMsgOptions opts,
MuMsgPartMatchFunc func, gpointer user_data)
{
@ -166,7 +166,8 @@ mu_msg_part_get_text (MuMsg *msg, MuMsgPart *self, MuMsgOptions opts)
err = FALSE;
if (GMIME_IS_PART (mobj)) {
if (self->part_type & MU_MSG_PART_TYPE_TEXT_PLAIN)
return mu_msg_mime_part_to_string ((GMimePart*)mobj, &err);
return mu_msg_mime_part_to_string ((GMimePart*)mobj,
&err);
else
return NULL; /* non-text MimePart */
}
@ -326,7 +327,6 @@ static gboolean handle_mime_object (MuMsg *msg,
unsigned index, MuMsgPartForeachFunc func,
gpointer user_data);
/* call 'func' with information about this MIME-part */
static gboolean
handle_encrypted_part (MuMsg *msg,
@ -465,10 +465,8 @@ struct _ForeachData {
MuMsgOptions opts;
};
typedef struct _ForeachData ForeachData;
static void
each_child (GMimeObject *parent, GMimeObject *part,
ForeachData *fdata)