]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-reply.c
Break up format->part function into part_start and part_content functions.
[notmuch] / notmuch-reply.c
index 79599358fa23c481e1e109735bb05627bc43bf70..9c35475d0553fa96bb37b141116dfa22c63b1569 100644 (file)
 #include "gmime-filter-headers.h"
 
 static void
-reply_part (GMimeObject *part,
-           unused (int *part_count));
+reply_part_content (GMimeObject *part);
 
 static const notmuch_show_format_t format_reply = {
     "",
        "", NULL,
            "", NULL, "",
-           "", reply_part, NULL, "", "",
+           "",
+               NULL,
+               reply_part_content,
+               NULL,
+               "",
+           "",
        "", "",
     ""
 };
@@ -57,8 +61,7 @@ show_reply_headers (GMimeMessage *message)
 }
 
 static void
-reply_part (GMimeObject *part,
-           unused (int *part_count))
+reply_part_content (GMimeObject *part)
 {
     GMimeContentType *content_type = g_mime_object_get_content_type (GMIME_OBJECT (part));
     GMimeContentDisposition *disposition = g_mime_object_get_content_disposition (part);