* mu-msg.c: use mu-msg-file

This commit is contained in:
Dirk-Jan C. Binnema 2010-12-07 23:17:42 +02:00
parent b7e3786af7
commit 4babb4d036
1 changed files with 6 additions and 4 deletions

View File

@ -26,12 +26,14 @@
#include <stdlib.h>
#include <ctype.h>
#include "mu-util.h"
#include "mu-str.h"
#include "mu-msg-priv.h" /* include before mu-msg.h */
#include "mu-msg.h"
#include "mu-util.h"
#include "mu-str.h"
#include "mu-msg-file.h"
/* note, we do the gmime initialization here rather than in
* mu-runtime, because this way we don't need mu-runtime for simple
* cases -- such as our unit tests */
@ -395,7 +397,7 @@ mu_msg_get_flags (MuMsg *msg)
g_return_val_if_fail (msg, MU_MSG_FLAG_NONE);
if (msg->_flags == MU_MSG_FLAG_NONE) {
msg->_flags = mu_msg_flags_from_file (mu_msg_get_path(msg));
msg->_flags = mu_msg_file_get_flags_from_path (mu_msg_get_path(msg));
msg->_flags |= get_content_flags (msg);
}