summaryrefslogtreecommitdiff
path: root/guimb
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2008-01-13 18:18:20 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2008-01-13 18:18:20 +0000
commita68e43adf5e389f3dfe874eb036b6dadda1393dd (patch)
treedaab2569ae5883e47bbcb090f50f6698bd3310b5 /guimb
parent264a0e474abb473014fc6cc2814feb49690a30fd (diff)
downloadmailutils-a68e43adf5e389f3dfe874eb036b6dadda1393dd.tar.gz
mailutils-a68e43adf5e389f3dfe874eb036b6dadda1393dd.tar.bz2
Fix NLS issues.
* configure.ac: Define DEFAULT_TEXT_DOMAIN * comsat/comsat.c, dotlock/dotlock.c, frm/frm.c, frm/from.c, guimb/main.c, imap4d/imap4d.c, maidag/maidag.c, mail/mail.c, mail.local/main.c, mail.remote/mail.remote.c, messages/messages.c, mh/ali.c, mh/anno.c, mh/burst.c, mh/comp.c, mh/fmtcheck.c, mh/folder.c, mh/forw.c, mh/inc.c, mh/install-mh.c, mh/mark.c, mh/mhl.c, mh/mhn.c, mh/mhparam.c, mh/mhpath.c, mh/pick.c, mh/refile.c, mh/repl.c, mh/rmf.c, mh/rmm.c, mh/scan.c, mh/send.c, mh/sortm.c, mh/whatnow.c, mh/whom.c, mimeview/mimeview.c, movemail/movemail.c, pop3d/pop3d.c, pop3d/popauth.c, readmsg/readmsg.c, sieve/sieve.c, Use MU_APP_INIT_NLS instead of mu_init_nls. * mailbox/nls.c (mu_init_nls): Do not call textdomain.
Diffstat (limited to 'guimb')
-rw-r--r--guimb/guimb.h2
-rw-r--r--guimb/main.c4
-rw-r--r--guimb/util.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/guimb/guimb.h b/guimb/guimb.h
index b4ff3a147..95df1417d 100644
--- a/guimb/guimb.h
+++ b/guimb/guimb.h
@@ -64,7 +64,7 @@ void collect_create_mailbox (void);
void collect_drop_mailbox (void);
int collect_output (void);
-void util_error (char *fmt, ...) MU_PRINTFLIKE(1, 2);
+void util_error (const char *fmt, ...) MU_PRINTFLIKE(1, 2);
int util_tempfile (char **namep);
struct guimb_data
diff --git a/guimb/main.c b/guimb/main.c
index a5f954e15..64c548b1a 100644
--- a/guimb/main.c
+++ b/guimb/main.c
@@ -1,6 +1,6 @@
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002, 2003,
- 2004, 2005, 2007 Free Software Foundation, Inc.
+ 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -155,7 +155,7 @@ main (int argc, char *argv[])
struct guimb_data gd;
/* Native Language Support */
- mu_init_nls ();
+ MU_APP_INIT_NLS ();
append_arg ("");
diff --git a/guimb/util.c b/guimb/util.c
index 1e09480db..463d3687c 100644
--- a/guimb/util.c
+++ b/guimb/util.c
@@ -20,7 +20,7 @@
#include "guimb.h"
void
-util_error (char *fmt, ...)
+util_error (const char *fmt, ...)
{
va_list ap;

Return to:

Send suggestions and report system problems to the System administrator.