projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge commit 'origin/master' into charset
[pspp-builds.git]
/
src
/
ui
/
gui
/
psppire.c
diff --git
a/src/ui/gui/psppire.c
b/src/ui/gui/psppire.c
index 599d8108ddb7d8b91897eb6f16bf0cf27003ec1b..a1f48e7b64d016f1cee8c5fb4b13c2be0bcf6af4 100644
(file)
--- a/
src/ui/gui/psppire.c
+++ b/
src/ui/gui/psppire.c
@@
-16,7
+16,7
@@
#include <config.h>
#include <config.h>
-#include <l
ocale
.h>
+#include <l
ibpspp/i18n
.h>
#include <assert.h>
#include <libintl.h>
#include <gsl/gsl_errno.h>
#include <assert.h>
#include <libintl.h>
#include <gsl/gsl_errno.h>
@@
-89,12
+89,8
@@
initialize (struct command_line_processor *clp, int argc, char **argv)
{
PsppireDict *dictionary = 0;
{
PsppireDict *dictionary = 0;
- /* gtk_init messes with the locale.
- So unset the bits we want to control ourselves */
- setlocale (LC_NUMERIC, "C");
-
- bindtextdomain (PACKAGE, locale_dir);
+ i18n_init ();
preregister_widgets ();
preregister_widgets ();
@@
-171,6
+167,7
@@
de_initialize (void)
message_dialog_done ();
settings_done ();
outp_done ();
message_dialog_done ();
settings_done ();
outp_done ();
+ i18n_done ();
}
}