* mu-msg, mu-msg-file: fix up mu_msg_get_header

This commit is contained in:
Dirk-Jan C. Binnema
2011-05-19 22:25:27 +03:00
parent 68294e4d5c
commit 603c6be7df
4 changed files with 54 additions and 0 deletions

View File

@ -828,3 +828,14 @@ mu_msg_file_get_num_field (MuMsgFile *self, const MuMsgFieldId mfid)
}
}
const char*
mu_msg_file_get_header (MuMsgFile *self, const char *header)
{
g_return_val_if_fail (self, NULL);
g_return_val_if_fail (header, NULL);
return g_mime_object_get_header
(GMIME_OBJECT(self->_mime_msg), header);
}