* lib/libqof/backend/file/qsf-backend.c: add <locale.h>

Note:  it think it's probably wrong to set the locale here.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13639 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins
2006-03-15 17:08:08 +00:00
parent 3fee619945
commit dde1437f81
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -1,3 +1,8 @@
2006-03-15 Derek Atkins <derek@ihtfp.com>
* lib/libqof/backend/file/qsf-backend.c: add <locale.h>
Note: it think it's probably wrong to set the locale here.
2006-03-15 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/Makefile.am: Add more linker flags for
+4
View File
@@ -30,6 +30,7 @@
#include "qsf-dir.h"
#include <errno.h>
#include <sys/stat.h>
#include <locale.h> /* for setlocale() and LC_ALL */
#define QSF_TYPE_BINARY "binary"
#define QSF_TYPE_GLIST "glist"
@@ -1248,6 +1249,9 @@ qsf_provider_init(void)
{
QofBackendProvider *prov;
/* XXX: Do we REALLY want to do this??? Shouldn't the APP
* have already done this?
*/
#ifdef ENABLE_NLS
setlocale (LC_ALL, "");
bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);