* crypto: update mu-cmd-extract for mu-msg-part api change

This commit is contained in:
djcb
2012-07-17 19:18:16 +03:00
parent bf2585b50e
commit b16823d500
2 changed files with 8 additions and 7 deletions

View File

@ -242,9 +242,9 @@ save_certain_parts (MuMsg *msg, gboolean attachments_only,
sd.targetdir = targetdir;
sd.play = play;
mu_msg_part_foreach (msg, FALSE,
mu_msg_part_foreach (msg,
(MuMsgPartForeachFunc)save_part_if,
&sd);
&sd, MU_MSG_PART_OPTION_NONE);
if (sd.saved_num == 0) {
g_warning ("no %s extracted from this message",
@ -345,8 +345,9 @@ show_parts (const char* path, MuConfig *opts, GError **err)
g_print ("MIME-parts in this message:\n");
mu_msg_part_foreach
(msg, FALSE, (MuMsgPartForeachFunc)each_part_show,
GUINT_TO_POINTER(!opts->nocolor));
(msg, (MuMsgPartForeachFunc)each_part_show,
GUINT_TO_POINTER(!opts->nocolor),
MU_MSG_PART_OPTION_NONE);
mu_msg_unref (msg);