Fix bug 3251, 'A translated In-Reply-To header is sent translated'
[claws.git] / src / gtk / headers.h
index 823c755975f97138b7ae587ad16a9203958711cc..8e0b4472aab991ccdec2ec971e2d4ff30da85ed1 100644 (file)
@@ -2,8 +2,9 @@
 static struct {
        const gchar *header_name;
        const gchar *header_name_w_colon;
-} HEADERS[] = {
-
+/* Compiler thinks this is unused. State so and make it shut up.
+ * We do need this for header translations. */
+} HEADERS[] __attribute__((unused)) = {
        /* RFC2822 */
        { N_("Date"),                                             N_("Date:") },
        { N_("From"),                                             N_("From:") },
@@ -39,7 +40,7 @@ static struct {
        { N_("Return-Receipt-To"),                        N_("Return-Receipt-To:") },
        { N_("User-Agent"),                               N_("User-Agent:") },
        { N_("Content-Type"),                             N_("Content-Type:") },
-       { N_("Content-Transfert-Encoding"),   N_("Content-Transfert-Encoding:") },
+       { N_("Content-Transfer-Encoding"),    N_("Content-Transfer-Encoding:") },
        { N_("MIME-Version"),                             N_("MIME-Version:") },
        { N_("Precedence"),                               N_("Precedence:") },
        { N_("Organization"),                             N_("Organization:") },
@@ -62,4 +63,6 @@ static struct {
        { N_("In reply to"),                              N_("In reply to:") },
        { N_("To or Cc"),                                         N_("To or Cc:") },
        { N_("From, To or Subject"),              N_("From, To or Subject:") },
+
+       { NULL, NULL }
 };