* <many> WIP: refactor mu-msg -- mu-msg-file
This commit is contained in:
@ -121,7 +121,7 @@ mug_msg_view_set_msg (MugMsgView * self, const char *msgpath)
|
||||
MuMsg *msg;
|
||||
|
||||
if (access (msgpath, R_OK) == 0) {
|
||||
msg = mu_msg_new (msgpath, NULL, NULL);
|
||||
msg = mu_msg_new_from_file (msgpath, NULL, NULL);
|
||||
mu_msg_view_set_message (MU_MSG_VIEW(priv->_view), msg);
|
||||
if (msg)
|
||||
mu_msg_unref (msg);
|
||||
|
||||
Reference in New Issue
Block a user